SBDDocumentEvent Class Reference

This class describes a document event.

Event types

enum  Type {
  FileNameChanged,
  DocumentAdded,
  DocumentRemoved,
  ActiveDocumentChanged,
  FolderAdded,
  FolderRemoved,
  CameraAdded,
  CameraRemoved,
  CameraChanged,
  ActiveCameraChanged,
  GroupAdded,
  GroupRemoved,
  SelectionChanged,
  StructuralModelAdded,
  StructuralModelRemoved,
  VisualModelAdded,
  VisualModelRemoved,
  DynamicalModelAdded,
  DynamicalModelRemoved,
  InteractionModelAdded,
  InteractionModelRemoved,
  PropertyModelAdded,
  PropertyModelRemoved,
  ActiveStructuralModelChanged,
  SimulatorAdded,
  SimulatorRemoved,
  ControllerAdded,
  ControllerRemoved,
  LabelAdded,
  LabelRemoved,
  LabelChanged,
  ConformationAdded,
  ConformationRemoved,
  PathAdded,
  PathRemoved
}
 The type of the document event. More...
 

Constructors and destructors

 SBDDocumentEvent (SBDDataGraphNode *sender, Type type, SBDDataGraphNode *auxiliaryNode=0)
 
virtual ~SBDDocumentEvent ()
 

Identity

virtual Category getCategory () const
 
Type getType () const
 
SBDDataGraphNodegetAuxiliaryNode () 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
}
 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.
 
- Static Public Member Functions inherited from SBDDataGraphEvent
static std::string getCategoryString (Category category)
 

Member Enumeration Documentation

◆ Type

Enumerator
FileNameChanged 

A file name was changed.

DocumentAdded 

A document was added.

DocumentRemoved 

A document was removed.

ActiveDocumentChanged 

An active document was changed.

FolderAdded 

A folder was added.

FolderRemoved 

A folder was removed.

CameraAdded 

A camera was added.

CameraRemoved 

A camera was removed.

CameraChanged 

A camera was changed.

ActiveCameraChanged 

An active camera was changed.

GroupAdded 

A group was added.

GroupRemoved 

A group was removed.

SelectionChanged 

A selection was changed.

StructuralModelAdded 

A structural model was added.

StructuralModelRemoved 

A structural model was removed.

VisualModelAdded 

A visual model was added.

VisualModelRemoved 

A visual model was removed.

DynamicalModelAdded 

A dynamical model was added.

DynamicalModelRemoved 

A dynamical model was removed.

InteractionModelAdded 

An interaction model was added.

InteractionModelRemoved 

An interaction model was removed.

PropertyModelAdded 

A property model was added.

PropertyModelRemoved 

A property model was removed.

ActiveStructuralModelChanged 

An active structural model was changed.

SimulatorAdded 

A simulator was added.

SimulatorRemoved 

A simulator was removed.

ControllerAdded 

A controller was added.

ControllerRemoved 

A controller was removed.

LabelAdded 

A label was added.

LabelRemoved 

A label was removed.

LabelChanged 

A label was changed.

ConformationAdded 

A conformation was added.

ConformationRemoved 

A conformation was removed.

PathAdded 

A path was added.

PathRemoved 

A path was removed.