Public Member Functions | |
void | addModel (Serialize &s) |
Add a instance to the registry of serializable models. | |
void | addParameter (Serialize &s) |
Add a class instance to the registry of serializable class instances with parameters. | |
virtual int | save (std::string &identString) |
Abstract function for saving specific class instance parameters OR models! | |
int | saveALL (void) |
Save all models and parameters of the tracking system. | |
int | saveAllSystemModels (void) |
Save all models of the tracking system. | |
int | saveAllSystemParameters (void) |
Saves parameters of all registered classes in serializable format. | |
Serialize () | |
Constructor. | |
int | writeAsXML (std::string baseName) |
Function to write serialized data to folder with seperate XML files. | |
virtual | ~Serialize () |
Destructor. |
Serialize::Serialize | ( | ) | [inline] |
Constructor.
virtual Serialize::~Serialize | ( | ) | [virtual] |
Destructor.
void Serialize::addModel | ( | Serialize & | s | ) | [inline] |
Add a instance to the registry of serializable models.
void Serialize::addParameter | ( | Serialize & | s | ) | [inline] |
Add a class instance to the registry of serializable class instances with parameters.
virtual int Serialize::save | ( | std::string & | identString | ) | [inline, virtual] |
Abstract function for saving specific class instance parameters OR models!
identString | Returns the "proposed identifier string" for the parameter set/model to be used, e.g. as part of the XML filename |
int Serialize::saveALL | ( | void | ) | [inline] |
Save all models and parameters of the tracking system.
int Serialize::saveAllSystemModels | ( | void | ) | [inline] |
Save all models of the tracking system.
int Serialize::saveAllSystemParameters | ( | void | ) | [inline] |
Saves parameters of all registered classes in serializable format.
int Serialize::writeAsXML | ( | std::string | baseName | ) |
Function to write serialized data to folder with seperate XML files.
baseName | Folder name (or name of ZIP-file) |