SBMInteractionModelEvent Class Reference

This class describes an interaction event.

Event types

enum  Type {
  ForceBufferFlushBegin,
  ForceBufferFlushEnd,
  InteractionModelChanged
}
 The type of the interaction model event. More...
 

Constructors and destructors

 SBMInteractionModelEvent (SBMInteractionModel *sender, Type type)
 
virtual ~SBMInteractionModelEvent ()
 

Identity

virtual Category getCategory () const
 
Type getType () const
 
SBMInteractionModelgetSender () const
 
static std::string getTypeString (Type type)
 

Debugging

virtual void print (unsigned int offset=0) const
 

Identity attributes

Type eventType
 The event type.
 

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
 SBDDataGraphEvent (SBDDataGraphNode *sender)
 
virtual ~SBDDataGraphEvent ()
 
SBDDataGraphNodegetSender () const
 This function returns the sender of an event.
 
 SB_DECLARE_DATA (SBDDataGraphEvent)
 
- Static Public Member Functions inherited from SBDDataGraphEvent
static std::string getCategoryString (Category category)
 
- Protected Member Functions inherited from SBDDataGraphEvent
 SBDDataGraphEvent (SBDDataGraphEventData *dataPointer)
 
- Protected Attributes inherited from SBDDataGraphEvent
SBDDataGraphEventData * dataPointer
 

Member Enumeration Documentation

◆ Type

Enumerator
ForceBufferFlushBegin 

Force buffer flush started.

ForceBufferFlushEnd 

Force buffer flush finished.

InteractionModelChanged 

An interaction model was changed.