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
DtTimedTickLogic Class Referenceabstract

Abstract base class for a small class that tracks the tick period for DtSimComponent.

Inheritance diagram for DtTimedTickLogic:
Inheritance graph
[legend]

Public Member Functions

 DtTimedTickLogic ()
 
virtual ~DtTimedTickLogic ()
 
virtual bool shouldTick (const DtSimulationServices *simServices)=0
 
virtual void calculateAndSetNextTickTime (const DtSimulationServices *simServices)=0
 

Constructor & Destructor Documentation

DtTimedTickLogic::DtTimedTickLogic ( )
virtual DtTimedTickLogic::~DtTimedTickLogic ( )
virtual

Member Function Documentation

virtual bool DtTimedTickLogic::shouldTick ( const DtSimulationServices simServices)
pure virtual
Returns
True if the current time triggers the next tick. Also updates internal state about when to tick next, so two calls to this in the same frame may not return the same result.

Implemented in DtSimTimeAndRealTimeWhenPausedTickLogic, DtSimTimeOnlyTickLogic, and DtAlwaysTickLogic.

virtual void DtTimedTickLogic::calculateAndSetNextTickTime ( const DtSimulationServices simServices)
pure virtual

Sets the tick logic tick time as if it has just ticked.

Implemented in DtSimTimeAndRealTimeWhenPausedTickLogic, DtSimTimeOnlyTickLogic, and DtAlwaysTickLogic.


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)