VR-Forces Developer's Guide
 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. 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.

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

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
 

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 ConvertToBulletVisitor::VrfSwitch, and makVrv::DtDefaultDynamicTerrainSwitch.

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

Get the current state of the switch.

Implemented in ConvertToBulletVisitor::VrfSwitch, and 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 ConvertToBulletVisitor::VrfSwitch, and makVrv::DtDefaultDynamicTerrainSwitch.


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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)