DART
6.7.3
|
Public Member Functions | |
InteractiveFrameMouseEvent (InteractiveFrame *frame) | |
void | update () override |
Overload this function to set behavior that will get triggered during a mouse event. More... | |
Protected Member Functions | |
void | handleDestructionNotification (const Subject *_subject) override |
virtual void | handleDestructionNotification (const Subject *_subject) |
Called by receiveDestructionNotification(). More... | |
void | sendDestructionNotification () const |
Send a destruction notification to all Observers. More... | |
void | addObserver (Observer *_observer) const |
Add an Observer to the list of Observers. More... | |
void | removeObserver (Observer *_observer) const |
Remove an Observer from the list of Observers. More... | |
void | receiveDestructionNotification (const Subject *_subject) |
Called whenever a Subject is destroyed (or sends out a destruction notification). More... | |
void | addSubject (const Subject *_subject) |
Add a Subject for this Observer. More... | |
void | removeSubject (const Subject *_subject) |
Remove a Subject from this Observer. More... | |
void | removeAllSubjects () |
Remove all Subjects from this Observer. More... | |
Protected Attributes | |
InteractiveFrame * | mFrame |
bool | mHighlighting |
int | mTool |
std::size_t | mCoordinate |
DefaultEventHandler * | mEventHandler |
std::set< Observer * > | mObservers |
List of current Observers. More... | |
std::set< const Subject * > | mSubjects |
List of current Subjects for this Observer. More... | |
|
inline |
|
protectedinherited |
Add an Observer to the list of Observers.
|
protectedinherited |
Add a Subject for this Observer.
|
protectedvirtualinherited |
Called by receiveDestructionNotification().
Override this function to customize your class's response to destruction notifications.
Reimplemented in dart::common::sub_ptr< T >, dart::common::sub_ptr< dart::dynamics::InverseKinematics >, dart::common::sub_ptr< dart::dynamics::JacobianNode >, dart::common::sub_ptr< dart::gui::osg::InteractiveTool >, dart::gui::osg::SimpleFrameShapeDnD, dart::gui::osg::DragAndDrop, dart::gui::osg::DefaultEventHandler, and dart::collision::CollisionGroup::ShapeFrameObserver.
|
inlineoverrideprotected |
|
protectedinherited |
Called whenever a Subject is destroyed (or sends out a destruction notification).
Override handleDestructionNotification() in order to customize your class's response to destruction notifications.
|
protectedinherited |
Remove all Subjects from this Observer.
|
protectedinherited |
Remove an Observer from the list of Observers.
|
protectedinherited |
Remove a Subject from this Observer.
|
protectedinherited |
Send a destruction notification to all Observers.
This will cause all Observers to behave as if this Subject has been permanently deleted, so it should only be called when that behavior is desired.
|
inlineoverridevirtual |
Overload this function to set behavior that will get triggered during a mouse event.
Implements dart::gui::osg::MouseEventHandler.
|
protected |
|
protectedinherited |
|
protected |
|
protected |
|
mutableprotectedinherited |
List of current Observers.
|
protectedinherited |
List of current Subjects for this Observer.
|
protected |