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::SpinningUp Class Reference
Inheritance diagram for makVrv::SpinningUp:
Inheritance graph
[legend]

Public Member Functions

 SpinningUp (DtEntityRotorData *rotorData, float initialVelocity)
 
virtual ~SpinningUp ()
 
virtual DtRotorStatehandleEvent (int state) override
 If 0, will transition to spinning down. More...
 
virtual DtRotorStateupdate (DtTime timeNow) override
 If > treshold, will transition to fully on. 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
 
bool mySwitchedToMotionBlur
 
- Protected Attributes inherited from makVrv::DtRotorState
DtEntityRotorDatamyRotorData
 

Private Member Functions

 SpinningUp ()=delete
 not allowed More...
 
 SpinningUp (const SpinningUp &rhs)=delete
 
FullyOnoperator= (const SpinningUp &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::SpinningUp::SpinningUp ( DtEntityRotorData rotorData,
float  initialVelocity 
)
virtual makVrv::SpinningUp::~SpinningUp ( )
virtual
makVrv::SpinningUp::SpinningUp ( )
privatedelete

not allowed

makVrv::SpinningUp::SpinningUp ( const SpinningUp rhs)
privatedelete

Member Function Documentation

virtual DtRotorState* makVrv::SpinningUp::handleEvent ( int  state)
overridevirtual

If 0, will transition to spinning down.

Reimplemented from makVrv::DtRotorState.

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

If > treshold, will transition to fully on.

Reimplemented from makVrv::DtRotorState.

FullyOn& makVrv::SpinningUp::operator= ( const SpinningUp rhs)
privatedelete

Member Data Documentation

DtTime makVrv::SpinningUp::myLastUpdateTime
protected
DtTime makVrv::SpinningUp::myElapsedTime
protected
const float makVrv::SpinningUp::myAcceleration
protected
const float makVrv::SpinningUp::myInitialVelocity
protected
float makVrv::SpinningUp::myCurrentVelocity
protected
bool makVrv::SpinningUp::mySwitchedToMotionBlur
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)