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 | Private Member Functions
makVrv::SpinningDown Class Reference
Inheritance diagram for makVrv::SpinningDown:
Inheritance graph
[legend]

Public Member Functions

 SpinningDown (DtEntityRotorData *rotorData, float initial)
 
virtual ~SpinningDown ()
 
virtual DtRotorStatehandleEvent (int state) override
 If 0, will transition to spinning down. More...
 
virtual DtRotorStateupdate (DtTime timeNow) override
 If M threshold, will transition to fully off. More...
 
- Public Member Functions inherited from makVrv::DtRotorState
 DtRotorState (DtEntityRotorData *rotorData)
 constructor More...
 
virtual ~DtRotorState ()
 destructor 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

DtTime myLastUpdateTime
 
DtTime myElapsedTime
 
const float myAcceleration
 
const float myInitialVelocity
 
float myCurrentVelocity
 
- Protected Attributes inherited from makVrv::DtRotorState
DtEntityRotorDatamyRotorData
 

Private Member Functions

 SpinningDown ()=delete
 not allowed More...
 
 SpinningDown (const SpinningDown &rhs)=delete
 
SpinningDownoperator= (const SpinningDown &rhs)=delete
 

Additional Inherited Members

- Static Protected Attributes inherited from makVrv::DtRotorState
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
 

Constructor & Destructor Documentation

makVrv::SpinningDown::SpinningDown ( DtEntityRotorData rotorData,
float  initial 
)
virtual makVrv::SpinningDown::~SpinningDown ( )
virtual
makVrv::SpinningDown::SpinningDown ( )
privatedelete

not allowed

makVrv::SpinningDown::SpinningDown ( const SpinningDown rhs)
privatedelete

Member Function Documentation

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

If 0, will transition to spinning down.

Reimplemented from makVrv::DtRotorState.

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

If M threshold, will transition to fully off.

Reimplemented from makVrv::DtRotorState.

Member Data Documentation

DtTime makVrv::SpinningDown::myLastUpdateTime
protected
DtTime makVrv::SpinningDown::myElapsedTime
protected
const float makVrv::SpinningDown::myAcceleration
protected
const float makVrv::SpinningDown::myInitialVelocity
protected
float makVrv::SpinningDown::myCurrentVelocity
protected

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)