![]() |
VR-Forces 5.0.3 Developer's Guide
|
State switch. This is an interface for manipulating a switch. A switch in this context is defined as a piece of terrain which can be in one of a certain number of states.

Public Member Functions | |
| virtual | ~DtDynamicTerrainSwitch () |
| virtual void | setState (unsigned int index)=0 |
| virtual unsigned int | getState () const =0 |
| virtual unsigned int | getPreviousState () const =0 |
Public Member Functions inherited from makVrv::DtDynamicTerrainImplementation | |
| virtual | ~DtDynamicTerrainImplementation () |
| virtual boost::shared_ptr < DtDynamicTerrainFeature > | feature () const |
| virtual void | setFeature (const boost::shared_ptr< DtDynamicTerrainFeature > &) |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtDynamicTerrainImplementation | |
| boost::weak_ptr < DtDynamicTerrainFeature > | myFeature |
|
virtual |
Virtual destructor.
Set the current state of the switch (0 indexed).
Implemented in makVrv::DtDefaultDynamicTerrainSwitch.
Get the current state of the switch.
Implemented in makVrv::DtDefaultDynamicTerrainSwitch.
Get the previous state of the switch. Return default (0) if the switch state has never been changed.
Implemented in makVrv::DtDefaultDynamicTerrainSwitch.