Inheritance Graph
graph BT
StreamerSDL
StreamerSDL --> AbstractBitmapStreamer
click StreamerSDL "classUtil_1_1Serialization_1_1StreamerSDL"
click AbstractBitmapStreamer "classUtil_1_1Serialization_1_1AbstractBitmapStreamer"
Description
Very inefficient streamer that relies on saving temporary files. This streamer should be deleted and replaced by an own implementation for reading/writing BMP images.
Author: Benjamin Eikel
Date: 2011-09-08
Public Functions
Public Static Functions
Documentation
function
Util::Serialization::StreamerSDL::StreamerSDL
Defined in Util/Serialization/StreamerSDL.h:33
function
Util::Serialization::StreamerSDL::~StreamerSDL
Defined in Util/Serialization/StreamerSDL.h:36
function
Util::Serialization::StreamerSDL::loadBitmap
Load a bitmap from the given stream.
Parameters
- input
- Use the data from the stream beginning at the preset position.
Returns
Bitmap object. The caller is responsible for the memory deallocation.
Defined in Util/Serialization/StreamerSDL.h:39
function
Util::Serialization::StreamerSDL::saveBitmap
Save a bitmap to the given stream.
Parameters
- bitmap
- Bitmap object to save.
- output
- Use the stream for writing beginning at the preset position.
Returns
true
if successful,false
otherwise.
Defined in Util/Serialization/StreamerSDL.h:40
function
Util::Serialization::StreamerSDL::init
Defined in Util/Serialization/StreamerSDL.h:42