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 | Protected Attributes | Static Protected Attributes | Private Member Functions
makVrv::DtRotorState Class Reference

represents an abstract rotor state. More...

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

Public Member Functions

 DtRotorState (DtEntityRotorData *rotorData)
 constructor More...
 
virtual ~DtRotorState ()
 destructor More...
 
virtual DtRotorStatehandleEvent (int state)
 handle an event (state change). More...
 
virtual DtRotorStateupdate (DtTime timeNow)
 update given the current time. More...
 
virtual void enter (void)
 things to be done on enter. More...
 
virtual void exit (void)
 things to be done on exit More...
 

Protected Attributes

DtEntityRotorDatamyRotorData
 

Static Protected Attributes

static const float theMaxSpeed
 the max speed of a rotor (in rpm) More...
 
static const float theTimeToFullSpin
 in seconds More...
 
static const float theTimeToFullCoolDown
 in seconds More...
 
static const float theTimeToSwitchToMotionBlur
 

Private Member Functions

 DtRotorState ()=delete
 not allowed More...
 
 DtRotorState (const DtRotorState &rhs)=delete
 
DtRotorStateoperator= (const DtRotorState &rhs)=delete
 

Detailed Description

represents an abstract rotor state.

Specialized classes inherited from this are part of the fsm that the rotor states can go through/be in.

Constructor & Destructor Documentation

makVrv::DtRotorState::DtRotorState ( DtEntityRotorData rotorData)

constructor

virtual makVrv::DtRotorState::~DtRotorState ( )
virtual

destructor

makVrv::DtRotorState::DtRotorState ( )
privatedelete

not allowed

makVrv::DtRotorState::DtRotorState ( const DtRotorState rhs)
privatedelete

Member Function Documentation

DtRotorState& makVrv::DtRotorState::operator= ( const DtRotorState rhs)
privatedelete
virtual DtRotorState* makVrv::DtRotorState::handleEvent ( int  state)
virtual

handle an event (state change).

can cause transition to another state.

Reimplemented in makVrv::SpinningDown, makVrv::SpinningUp, makVrv::FullyOn, makVrv::FullyOff, and makVrv::DtNullRotorState.

virtual DtRotorState* makVrv::DtRotorState::update ( DtTime  timeNow)
virtual

update given the current time.

can cause transition to another state.

Reimplemented in makVrv::SpinningDown, and makVrv::SpinningUp.

virtual void makVrv::DtRotorState::enter ( void  )
virtual

things to be done on enter.

Reimplemented in makVrv::FullyOn, and makVrv::FullyOff.

virtual void makVrv::DtRotorState::exit ( void  )
virtual

things to be done on exit

Member Data Documentation

DtEntityRotorData* makVrv::DtRotorState::myRotorData
protected
const float makVrv::DtRotorState::theMaxSpeed
staticprotected

the max speed of a rotor (in rpm)

const float makVrv::DtRotorState::theTimeToFullSpin
staticprotected

in seconds

const float makVrv::DtRotorState::theTimeToFullCoolDown
staticprotected

in seconds

const float makVrv::DtRotorState::theTimeToSwitchToMotionBlur
staticprotected

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)