VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtDynamicTerrainSwitch Class Reference

State switch. More...

Inheritance diagram for makVrv::DtDynamicTerrainSwitch:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtDynamicTerrainSwitch ()
 Virtual destructor.
virtual void setState (unsigned int index)=0
 Set the current state of the switch (0 indexed).
virtual unsigned int getState () const =0
 Get the current state of the switch.
virtual unsigned int getPreviousState () const =0
 Get the previous state of the switch.
- 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

Detailed Description

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.

Constructor & Destructor Documentation

virtual makVrv::DtDynamicTerrainSwitch::~DtDynamicTerrainSwitch ( )
virtual

Virtual destructor.

Member Function Documentation

virtual void makVrv::DtDynamicTerrainSwitch::setState ( unsigned int  index)
pure virtual

Set the current state of the switch (0 indexed).

Implemented in makVrv::DtDefaultDynamicTerrainSwitch.

virtual unsigned int makVrv::DtDynamicTerrainSwitch::getState ( ) const
pure virtual

Get the current state of the switch.

Implemented in makVrv::DtDefaultDynamicTerrainSwitch.

virtual unsigned int makVrv::DtDynamicTerrainSwitch::getPreviousState ( ) const
pure virtual

Get the previous state of the switch.

Return default (0) if the switch state has never been changed.

Implemented in makVrv::DtDefaultDynamicTerrainSwitch.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)