SBDControllerEvent Class Reference

This class describes a controller event.

Public Member Functions

 SB_DECLARE_DATA (SBDControllerEvent)
 
- Public Member Functions inherited from SBDDataGraphEvent
 SB_DECLARE_DATA (SBDDataGraphEvent)
 
 SBDDataGraphEvent (SBDDataGraphNode *sender)
 
virtual ~SBDDataGraphEvent ()
 
SBDDataGraphNodegetSender () const
 This function returns the sender of an event.
 

Event types

enum  Type {
  ControllerNodeAdded,
  ControllerNodeRemoved,
  ControllerPressed,
  ControllerReleased,
  ControllerStateChanged
}
 

Constructors and destructors

 SBDControllerEvent (SBDController *controller, Type type, SBDControllerNode *auxiliaryNode=0)
 
virtual ~SBDControllerEvent ()
 

Identity

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

Debugging

virtual void print (unsigned int offset=0) const
 

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...
 
- 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