80 void showError(
const std::string &msg)
const;
86 static const char* AutoUpdateModeNames[];
Engine(int numInputImages=0, int numOutputImages=0)
Constructor.
NotifyField * _fldClearButton
Clear loaded object.
NotifyField * _fldLoadButton
Load object.
BoolField * _fldUpToDate
Indicates whether the current output corresponds to the filename.
@ AutoUpdateModeAutoClear
@ AutoUpdateModeAutoUpdate
@ AutoUpdateModeDoNothing
bool loadObject()
loads a new object
EnumField * _fldLoadMode
Specifies the file format for the object.
StringField * _fldLoadDirName
Name of the directory the file is to be restored from.
EnumField * _fldAutoUpdateMode
Auto-load mode. Use anything other than Auto-Clear with care.
StringField * _fldNodeName
Name of the root node of the object when storing/restoring.
StringField * _fldFileStatus
Field for status messages concerning file I/O.
~LoadBase() override
destructor:
void deleteObject()
deletes the current object
Base * _outputObject
object behind _fldBaseOutput
void activateAttachments() override
BoolField * _fldUseLoadDir
Indicates whether the load dir field is used.
BaseField * _fldBaseOutput
Output connection.
void handleNotification(Field *field) override
Handle field notifications.
StringField * _fldLoadFileName
Name of the file the object is to be restored from.
#define ML_MODULE_CLASS_HEADER(className)