Class SBDAssetEvent#
#include <SBDAssetEvent.hpp>
Inherits the following classes: SBDDataGraphEvent
Public Types#
Type | Name |
---|---|
enum | Type The type of the dynamical model event. |
Public Types inherited from SBDDataGraphEvent#
Type | Name |
---|---|
enum | Category The category of the data graph event. |
Public Functions#
Type | Name |
---|---|
SBDAssetEvent (SBDDataGraphNode * sender, Type type, SBDDataGraphNode * auxiliaryNode=nullptr) Builds an asset event. |
|
SB_DECLARE_DATA (SBDAssetEvent) |
|
SBDDataGraphNode * | getAuxiliaryNode () const Returns a pointer to the auxiliary node. |
virtual Category | getCategory () override const Returns the category of the data graph event. |
Type | getType () const Returns the asset event type. |
virtual void | print (unsigned int offset=0) override const Prints debugging information. |
virtual | ~SBDAssetEvent () Deletes the asset event. |
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 asset event type 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 an asset event.
Short name: SBAssetEvent
Public Types Documentation#
enum Type#
The type of the dynamical model event.
Public Functions Documentation#
function SBDAssetEvent#
Builds an asset event.
SBDAssetEvent::SBDAssetEvent (
SBDDataGraphNode * sender,
Type type,
SBDDataGraphNode * auxiliaryNode=nullptr
)
function SB_DECLARE_DATA#
function getAuxiliaryNode#
Returns a pointer to the auxiliary node.
function getCategory#
Returns the category of the data graph event.
Implements SBDDataGraphEvent::getCategory
function getType#
Returns the asset event type.
function print#
Prints debugging information.
Implements SBDDataGraphEvent::print
function ~SBDAssetEvent#
Deletes the asset event.
Public Static Functions Documentation#
function getTypeString#
Returns the asset event type as a string.