Web Analytics Made Easy - Statcounter
Skip to content

Class SBMInteractionModelEvent#

ClassList > SBMInteractionModelEvent

More...

  • #include <SBMInteractionModelEvent.hpp>

Inherits the following classes: SBDDataGraphEvent

Public Types#

Type Name
enum Type
The type of the interaction model event.

Public Types inherited from SBDDataGraphEvent#

See SBDDataGraphEvent

Type Name
enum Category
The category of the data graph event.

Public Functions#

Type Name
SBMInteractionModelEvent (SBMInteractionModel * sender, Type type)
virtual Category getCategory () override const
Returns the category of the event.
SBMInteractionModel * getSender () const
Returns the sender of the event.
Type getType () const
Returns the interaction model event type.
virtual void print (unsigned int offset=0) override const
Prints debugging information.
virtual ~SBMInteractionModelEvent ()

Public Functions inherited from SBDDataGraphEvent#

See 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 interaction model event type as a string.

Public Static Functions inherited from SBDDataGraphEvent#

See SBDDataGraphEvent

Type Name
std::string getCategoryString (Category category)
Returns a string representation of the category of the data graph event.

Protected Attributes#

Type Name
Type eventType
The event type.

Protected Attributes inherited from SBDDataGraphEvent#

See SBDDataGraphEvent

Type Name
SBDDataGraphEventData * dataPointer

Protected Functions inherited from SBDDataGraphEvent#

See SBDDataGraphEvent

Type Name
SBDDataGraphEvent (SBDDataGraphEventData * dataPointer)

Detailed Description#

This class describes an interaction event.

Short name: SBInteractionEvent

Public Types Documentation#

enum Type#

The type of the interaction model event.

enum SBMInteractionModelEvent::Type {
    ForceBufferFlushBegin = 1,
    ForceBufferFlushEnd = 2,
    InteractionModelChanged = 3
};


Public Functions Documentation#

function SBMInteractionModelEvent#

SBMInteractionModelEvent::SBMInteractionModelEvent (
    SBMInteractionModel * sender,
    Type type
) 

function getCategory#

Returns the category of the event.

virtual Category SBMInteractionModelEvent::getCategory () override const

Implements SBDDataGraphEvent::getCategory


function getSender#

Returns the sender of the event.

SBMInteractionModel * SBMInteractionModelEvent::getSender () const


function getType#

Returns the interaction model event type.

Type SBMInteractionModelEvent::getType () const


function print#

Prints debugging information.

virtual void SBMInteractionModelEvent::print (
    unsigned int offset=0
) override const

Implements SBDDataGraphEvent::print


function ~SBMInteractionModelEvent#

virtual SBMInteractionModelEvent::~SBMInteractionModelEvent () 

Public Static Functions Documentation#

function getTypeString#

Returns the interaction model event type as a string.

static std::string SBMInteractionModelEvent::getTypeString (
    Type type
) 


Protected Attributes Documentation#

variable eventType#

The event type.

Type eventType;