#include <mlLoadBase.h>

Public Types | |
| enum | AutoUpdateMode { AutoUpdateModeDoNothing = 0, AutoUpdateModeAutoClear, AutoUpdateModeAutoUpdate, AutoUpdateModeCount } |
| auto update mode enum More... | |
Public Member Functions | |
| LoadBase () | |
| constructor: | |
| ~LoadBase () | |
| destructor: | |
| virtual int | loadObject (void) |
| loads a new object | |
| virtual void | deleteObject (void) |
| deletes the current object | |
Public Attributes | |
| EnumField * | _fldAutoUpdateMode |
| Auto-load mode. Use anything other than Auto-Delete with care. | |
| NotifyField * | _fldDeleteButton |
| Delete loaded object. | |
| NotifyField * | _fldLoadButton |
| Load object. | |
| StringField * | _fldNodeName |
| Name of the root node of the object when storing/restoring. | |
| StringField * | _fldLoadFileName |
| Name of the file the object is to be restored from. | |
| StringField * | _fldLoadDirName |
| Name of the directory the file is to be restored from. | |
| BoolField * | _fldUseLoadDir |
| Indicates whether the load dir field is used. | |
| StringField * | _fldFileStatus |
| Field for status messages concerning file I/O. | |
| EnumField * | _fldLoadMode |
| Specifies the file format for the object. | |
| BoolField * | _fldUpToDate |
| Indicates whether the current output corresponds to the filename. | |
| BaseField * | _fldBaseOutput |
| Output connection. | |
Protected Member Functions | |
| virtual void | handleNotification (Field *field) |
| Handle field notifications. | |
| virtual void | activateAttachments () |
| resets fldUpToDate, calls handleNotification once after the module is loaded on the network and all field values are assigned. | |
Protected Attributes | |
| Base * | _outputObject |
| object behind _fldBaseOutput | |
class LoadBase
Definition at line 22 of file mlLoadBase.h.
auto update mode enum
| AutoUpdateModeDoNothing | |
| AutoUpdateModeAutoClear | |
| AutoUpdateModeAutoUpdate | |
| AutoUpdateModeCount |
Definition at line 27 of file mlLoadBase.h.
| ml::LoadBase::LoadBase | ( | ) |
constructor:
| ml::LoadBase::~LoadBase | ( | ) |
destructor:
| virtual void ml::LoadBase::activateAttachments | ( | ) | [protected, virtual] |
resets fldUpToDate, calls handleNotification once after the module is loaded on the network and all field values are assigned.
Reimplemented from ml::FieldContainer.
| virtual void ml::LoadBase::deleteObject | ( | void | ) | [virtual] |
deletes the current object
| virtual void ml::LoadBase::handleNotification | ( | Field * | field | ) | [protected, virtual] |
| virtual int ml::LoadBase::loadObject | ( | void | ) | [virtual] |
loads a new object
Auto-load mode. Use anything other than Auto-Delete with care.
Definition at line 46 of file mlLoadBase.h.
Specifies the file format for the object.
Definition at line 54 of file mlLoadBase.h.
Name of the root node of the object when storing/restoring.
Definition at line 49 of file mlLoadBase.h.
Indicates whether the current output corresponds to the filename.
Definition at line 55 of file mlLoadBase.h.
Base* ml::LoadBase::_outputObject [protected] |
1.5.8