VR-Forces 4.10 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 Referenceabstract

State switch. More...

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

Public Member Functions

virtual ~DtDynamicTerrainSwitch ()
 Virtual destructor. More...
 
virtual void setState (unsigned int index)=0
 Set the current state of the switch (0 indexed). More...
 
virtual unsigned int getState () const =0
 Get the current state of the switch. More...
 
virtual unsigned int getPreviousState () const =0
 Get the previous state of the switch. More...
 
- 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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)