33 AutoUpdateModeDoNothing = 0,
80 void showError(
const std::string &
msg)
const;
86 static const char* AutoUpdateModeNames[];
Field to encapsulate a pointer to an ML base object.
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Field to encapsulate a boolean value.
Base class for all ML Engines which are derived from Module, which have no inputs or outputs and whic...
Field to encapsulate an enumerated value.
Base class for all fields used in the ML.
Allows to load ml::base-derived objects from file.
NotifyField * _fldClearButton
Clear loaded object.
NotifyField * _fldLoadButton
Load object.
BoolField * _fldUpToDate
Indicates whether the current output corresponds to the filename.
@ AutoUpdateModeAutoClear
@ AutoUpdateModeAutoUpdate
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
resets fldUpToDate, calls handleNotification once after the module is loaded on the network and all f...
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.
Field without value for notifications.
Field to encapsulate a string value.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
#define PARSER_EXPORT
Definiert systemspezifische Macros, die f"ur diese DLL gelten sollen.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.