#include <mlEditObject.h>

Public Types | |
| enum | AutoUpdateMode { AutoUpdateModeDoNothing = 0, AutoUpdateModeAutoClear, AutoUpdateModeAutoUpdate, AutoUpdateModeCount } |
| auto update mode enum More... | |
Public Member Functions | |
| EditObject () | |
| constructor: | |
| ~EditObject () | |
| destructor: | |
| virtual void | deleteObject (void) |
| deletes the current output object | |
| virtual int | loadObject (void) |
| loads the input object into editor | |
| virtual int | updateObject (void) |
| creates a new output object from the editor | |
Public Attributes | |
| NotifyField * | _fldUpdateButton |
| Update output object. | |
| NotifyField * | _fldLoadButton |
| Load input object to editor. | |
| NotifyField * | _fldDeleteButton |
| Delete output object. | |
| EnumField * | _fldAutoUpdateMode |
| Auto-update mode. Use anything other than Auto-Delete with care. | |
| BoolField * | _fldAutoLoad |
| Auto-load input object on notify. | |
| BoolField * | _fldUpToDate |
| Indicates whether the current output is consistent with the editor representation. | |
| StringField * | _fldObjectString |
| String representation of object, and thus current editor state. | |
| BaseField * | _fldBaseOutput |
| Output connection. | |
| BaseField * | _fldBaseInput |
| Input connection. | |
| StringField * | _fldStatus |
| oper status | |
Protected Member Functions | |
| virtual void | activateAttachments () |
| resets fldUpToDate, calls handleNotification once after the module is loaded on the network and all field values are assigned. | |
| virtual void | handleNotification (Field *field) |
| Handle field notifications. | |
Protected Attributes | |
| Base * | _outputObject |
| object behind _fldBaseOutput | |
| Base * | _inputObject |
| object behind _fldBaseInput | |
| char * | _objectString |
| current editor string | |
class EditObject
Definition at line 22 of file mlEditObject.h.
auto update mode enum
| AutoUpdateModeDoNothing | |
| AutoUpdateModeAutoClear | |
| AutoUpdateModeAutoUpdate | |
| AutoUpdateModeCount |
Definition at line 27 of file mlEditObject.h.
| ml::EditObject::EditObject | ( | ) |
constructor:
| ml::EditObject::~EditObject | ( | ) |
destructor:
| virtual void ml::EditObject::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::EditObject::deleteObject | ( | void | ) | [virtual] |
deletes the current output object
| virtual void ml::EditObject::handleNotification | ( | Field * | field | ) | [protected, virtual] |
| virtual int ml::EditObject::loadObject | ( | void | ) | [virtual] |
loads the input object into editor
| virtual int ml::EditObject::updateObject | ( | void | ) | [virtual] |
creates a new output object from the editor
Auto-update mode. Use anything other than Auto-Delete with care.
Definition at line 53 of file mlEditObject.h.
String representation of object, and thus current editor state.
Definition at line 58 of file mlEditObject.h.
Indicates whether the current output is consistent with the editor representation.
Definition at line 56 of file mlEditObject.h.
Base* ml::EditObject::_inputObject [protected] |
char* ml::EditObject::_objectString [protected] |
Base* ml::EditObject::_outputObject [protected] |
1.5.8