VisualTargetCloseTrans Class Reference#include <VisualTargetCloseTrans.h>
Inheritance diagram for VisualTargetCloseTrans:
[legend]List of all members.
Detailed Description
causes a transition when a visual object is "close"
Definition at line 14 of file VisualTargetCloseTrans.h.
|
Public Member Functions |
| | VisualTargetCloseTrans (StateNode *destination, unsigned int source_id) |
| | constructor
|
| virtual void | DoStart () |
| | starts listening for the object specified by the source id in the constructor
|
| virtual void | DoStop () |
| | called by StateNode when it becomes inactive - undo whatever you did in Enable()
|
| virtual void | processEvent (const EventBase &e) |
| | if the object is "close", calls activate()
|
| virtual std::string | getName () const |
| | Identifies the behavior in menus and such.
|
Protected Attributes |
| unsigned int | sid |
| | Source ID of object to track.
|
Constructor & Destructor Documentation
| VisualTargetCloseTrans::VisualTargetCloseTrans |
( |
StateNode * |
destination, |
|
|
unsigned int |
source_id |
|
) |
[inline] |
|
Member Function Documentation
| virtual void VisualTargetCloseTrans::DoStart |
( |
|
) |
[inline, virtual] |
|
| virtual void VisualTargetCloseTrans::DoStop |
( |
|
) |
[inline, virtual] |
|
| virtual std::string VisualTargetCloseTrans::getName |
( |
|
) |
const [inline, virtual] |
|
| virtual void VisualTargetCloseTrans::processEvent |
( |
const EventBase & |
e |
) |
[inline, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file:
|