Class SBDDataGraphEvent#
This class is the base class to describe a data graph event. More...
#include "SBDDataGraphEvent.hpp"
Inherited by the following classes: SBDAssetEvent, SBDControllerEvent, SBDDataGraphBaseEvent, SBDDocumentEvent, SBMDynamicalModelEvent, SBMInteractionModelEvent, SBMPropertyModelEvent, SBMStructuralModelEvent, SBMVisualModelEvent, SBSSimulatorEvent, SBSStateUpdaterEvent
Public Types#
| Type | Name |
|---|---|
| enum | Category The category of the data graph event. |
Public Functions#
| Type | Name |
|---|---|
| SBDDataGraphEvent (SBDDataGraphNode * sender) Build a data graph event for the sender 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 () Destructor. |
Public Static Functions#
| Type | Name |
|---|---|
| std::string | getCategoryString (Category category) Returns a string representation of the category of the data graph event. |
Protected Attributes#
| Type | Name |
|---|---|
| SBDDataGraphEventData * | dataPointer A pointer to the private data. |
Protected Functions#
| Type | Name |
|---|---|
| SBDDataGraphEvent (SBDDataGraphEventData * dataPointer) Protected constructor. |
Detailed Description#
Short name: SBEvent
Public Types Documentation#
enum Category#
The category of the data graph event.
enum SBDDataGraphEvent::Category {
UndefinedEvent = 0,
BaseEvent = 1,
DocumentEvent = 2,
StructuralEvent = 3,
VisualEvent = 4,
DynamicalEvent = 5,
InteractionEvent = 6,
PropertyEvent = 7,
StateUpdaterEvent = 8,
SimulatorEvent = 9,
ControllerEvent = 10,
AssetEvent = 11
};
Public Functions Documentation#
function SBDDataGraphEvent [2/2]#
Build a data graph event for the sender sender .
function SB_DECLARE_DATA#
function getCategory#
Returns the category of the data graph event.
function getSender#
Returns the sender of the event.
This function returns the sender of an event.
function print#
Prints debugging information.
function ~SBDDataGraphEvent#
Destructor.
Public Static Functions Documentation#
function getCategoryString#
Returns a string representation of the category of the data graph event.
Parameters:
categoryAn event's category
This function returns the string representation of the event's category category
Protected Attributes Documentation#
variable dataPointer#
A pointer to the private data.
Protected Functions Documentation#
function SBDDataGraphEvent [1/2]#
Protected constructor.