This class describes a base event. More...
Event types | |
enum | Type { NodeCreated , NodeEraseBegin , NodeEraseEnd , NodeErased , NodeDeleteBegin , NodeDeleteEnd , NodeDeleted , SelectionFlagChanged , VisibilityFlagChanged , HighlightingFlagChanged , IndexChanged , NameChanged , Shown , Hidden , MaterialAdded , MaterialRemoved , MaterialChanged , UUIDChanged , LockedFlagChanged , TransparencyChanged , ShadowingFlagChanged , ParentChanged } |
The type of the data graph base event. More... | |
Constructors and destructors | |
SBDDataGraphBaseEvent (SBDDataGraphNode *sender, Type type) | |
virtual | ~SBDDataGraphBaseEvent () |
Identity | |
virtual Category | getCategory () const |
Returns the category of the event. | |
Type | getType () const |
Returns the type of the data graph base event. | |
static std::string | getTypeString (Type type) |
Returns a string describing the type of the data graph base event. | |
Debugging | |
virtual void | print (unsigned int offset=0) const |
Prints some debugging information. | |
SB_DECLARE_DATA (SBDDataGraphBaseEvent) | |
SBDDataGraphBaseEvent (SBDDataGraphBaseEventData *dataPointer) | |
Additional Inherited Members | |
Public Types inherited from SBDDataGraphEvent | |
enum | Category { UndefinedEvent , BaseEvent , DocumentEvent , StructuralEvent , VisualEvent , DynamicalEvent , InteractionEvent , PropertyEvent , StateUpdaterEvent , SimulatorEvent , ControllerEvent , AssetEvent } |
The category of the data graph event. More... | |
Public Member Functions inherited from SBDDataGraphEvent | |
SB_DECLARE_DATA (SBDDataGraphEvent) | |
SBDDataGraphEvent (SBDDataGraphNode *sender) | |
virtual | ~SBDDataGraphEvent () |
SBDDataGraphNode * | getSender () const |
Returns the sender of the event. | |
Static Public Member Functions inherited from SBDDataGraphEvent | |
static std::string | getCategoryString (Category category) |
Returns a string representation of the category of the data graph event. | |
Protected Member Functions inherited from SBDDataGraphEvent | |
SBDDataGraphEvent (SBDDataGraphEventData *dataPointer) | |
Protected Attributes inherited from SBDDataGraphEvent | |
SBDDataGraphEventData * | dataPointer |
Short name: SBBaseEvent
|
virtual |
Reimplemented from SBDDataGraphEvent.
|
static |
type | A type of the base event |
This function returns the string representation of the base event type type
|
virtual |
Reimplemented from SBDDataGraphEvent.