Class SBDDocumentEvent#
#include <SBDDocumentEvent.hpp>
Inherits the following classes: SBDDataGraphEvent
Public Types#
Type | Name |
---|---|
enum | Type The type of the document event. |
Public Types inherited from SBDDataGraphEvent#
Type | Name |
---|---|
enum | Category The category of the data graph event. |
Public Functions#
Type | Name |
---|---|
SBDDocumentEvent (SBDDataGraphNode * sender, Type type, SBDDataGraphNode * auxiliaryNode=nullptr) Builds a document event. |
|
SB_DECLARE_DATA (SBDDocumentEvent) |
|
SBDDataGraphNode * | getAuxiliaryNode () const Returns the auxiliary node pointer. |
virtual Category | getCategory () override const Returns the category of the event. |
Type | getType () const Returns the document event type. |
virtual void | print (unsigned int offset=0) override const Prints some debugging information. |
virtual | ~SBDDocumentEvent () |
Public Functions inherited from SBDDataGraphEvent#
Type | Name |
---|---|
SBDDataGraphEvent (SBDDataGraphNode * sender) |
|
SB_DECLARE_DATA (SBDDataGraphEvent) |
|
virtual Category | getCategory () const Returns the category of the data graph event. |
SBDDataGraphNode * | getSender () const Returns the sender of the event. |
virtual void | print (unsigned int offset=0) const Prints debugging information. |
virtual | ~SBDDataGraphEvent () |
Public Static Functions#
Type | Name |
---|---|
std::string | getTypeString (Type type) Returns the document event as a string. |
Public Static Functions inherited from SBDDataGraphEvent#
Type | Name |
---|---|
std::string | getCategoryString (Category category) Returns a string representation of the category of the data graph event. |
Protected Attributes inherited from SBDDataGraphEvent#
Type | Name |
---|---|
SBDDataGraphEventData * | dataPointer |
Protected Functions inherited from SBDDataGraphEvent#
Type | Name |
---|---|
SBDDataGraphEvent (SBDDataGraphEventData * dataPointer) |
Detailed Description#
This class describes a document event.
Short name: SBDocumentEvent
Public Types Documentation#
enum Type#
The type of the document event.
enum SBDDocumentEvent::Type {
FileNameChanged = 10,
DocumentAdded = 20,
DocumentRemoved = 21,
ActiveDocumentChanged = 22,
DocumentCloseBegin = 23,
DocumentCloseEnd = 24,
FolderAdded = 30,
FolderRemoved = 31,
CameraAdded = 40,
CameraRemoved = 41,
CameraChanged = 42,
ActiveCameraChanged = 43,
GroupAdded = 50,
GroupRemoved = 51,
SelectionChanged = 60,
StructuralModelAdded = 70,
StructuralModelRemoved = 71,
VisualModelAdded = 80,
VisualModelRemoved = 81,
DynamicalModelAdded = 90,
DynamicalModelRemoved = 91,
InteractionModelAdded = 100,
InteractionModelRemoved = 101,
PropertyModelAdded = 110,
PropertyModelRemoved = 111,
ActiveStructuralModelChanged = 120,
SimulatorAdded = 130,
SimulatorRemoved = 131,
ControllerAdded = 140,
ControllerRemoved = 141,
LabelAdded = 150,
LabelRemoved = 151,
LabelChanged = 152,
ConformationAdded = 160,
ConformationRemoved = 161,
PathAdded = 170,
PathRemoved = 171,
AssetAdded = 180,
AssetRemoved = 181,
NoteAdded = 190,
NoteRemoved = 191,
NoteChanged = 192,
KeyframeAdded = 200,
KeyframeRemoved = 201,
KeyframeChanged = 202,
AnimationAdded = 210,
AnimationRemoved = 211,
AnimationChanged = 212,
PresentationAdded = 220,
PresentationRemoved = 221,
PresentationChanged = 222,
ActivePresentationChanged = 223,
LightAdded = 230,
LightRemoved = 231,
LightChanged = 232,
FileAdded = 240,
FileRemoved = 241,
FileChanged = 242,
BackgroundChanged = 250,
RenderPresetAdded = 260,
RenderPresetRemoved = 261,
RenderPresetChanged = 262
};
Public Functions Documentation#
function SBDDocumentEvent#
Builds a document event.
SBDDocumentEvent::SBDDocumentEvent (
SBDDataGraphNode * sender,
Type type,
SBDDataGraphNode * auxiliaryNode=nullptr
)
function SB_DECLARE_DATA#
function getAuxiliaryNode#
Returns the auxiliary node pointer.
function getCategory#
Returns the category of the event.
Implements SBDDataGraphEvent::getCategory
function getType#
Returns the document event type.
function print#
Prints some debugging information.
Implements SBDDataGraphEvent::print
function ~SBDDocumentEvent#
Public Static Functions Documentation#
function getTypeString#
Returns the document event as a string.