13 #ifndef ML_OBJ_MGR_EVENT_H
14 #define ML_OBJ_MGR_EVENT_H
19 #include "MLObjMgrSystem.h"
49 static const char *EventTypeStrings[NUM_EVENT_TYPES];
80 : type(NIL), nonMaskable(false), clientID(0) {}
82 : type(_type), nonMaskable(_nonMaskable), clientID(0), objectID(_objectID), layerID(_layerID), infoID(_infoID), objectFlags(_objectFlags), layerFlags(_layerFlags), infoFlags(_infoFlags), newValue(_newValue), prevValue(_prevValue) {}
EventType
Notification types.
EventType type
What kind of modification to the object (container) has been made.
ObjMgrEvent(EventType _type, const omAttribute &_attribute, const omData &_newValue, const omData &_prevValue, bool _nonMaskable=false)
ObjMgrEvent(EventType _type, const omAttribute &_attribute, bool _nonMaskable=false)
omIDType layerID
ID of layer that has been modified.
omData prevValue
Previous value.
ObjMgrEvent(EventType _type, void *_clientID, bool _nonMaskable=false)
size_t clientID
ID of client that should receive the event, or 0 for any client.
omData newValue
New value.
ObjMgrEvent(EventType _type, const omObject &_object, bool _nonMaskable=false)
omIDType infoID
ID of information item that has been modified.
ObjMgrEvent(EventType _type, const omAttribute &_attribute, const omData &_newValue, bool _nonMaskable=false)
ObjMgrEvent(EventType _type, const omObject &_object, const omFlags &_flags, bool _nonMaskable=false)
omFlags objectFlags
Special address flags.
ObjMgrEvent(EventType _type, const omAttribute &_attribute, const omFlags &_flags, const omData &_newValue, const omData &_prevValue, bool _nonMaskable=false)
ObjMgrEvent(EventType _type, const omAttribute &_attribute, const omFlags &_flags, const omData &_newValue, bool _nonMaskable=false)
ObjMgrEvent(EventType _type, const omIDType &_objectID, const omIDType &_layerID, const omIDType &_infoID, const omFlags &_objectFlags, const omFlags &_layerFlags, const omFlags &_infoFlags, const omData &_newValue, const omData &_prevValue, bool _nonMaskable=false)
ObjMgrEvent(EventType _type, const omAttribute &_attribute, const omFlags &_flags, bool _nonMaskable=false)
omIDType objectID
ID of object that has been modified.
bool nonMaskable
Specifies whether or not an event can be filtered out.
Manages the attribute data and takes care of allocation and deallocation.
Manages data and takes care of allocation and deallocation.
Managed special flags of information address components.
Base class that declares to basic functionality of an object.
bool operator==(const Tmat2< DT > &a, const Tmat2< DT > &b)
a == b ? Return true if yes.
std::list< ObjMgrEvent > omEventContainer
Declare type for event container;.