![]() |
VR-Forces Development_Version Class Documentation
|
Abstract wake object updater interface. More...

Public Member Functions | |
| DtWakeUpdater (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtWakeUpdater () |
| Virtual DTOR. | |
| virtual void | update (DtTime tNow)=0 |
| The update function called by DtTickableManager during update-ticks. | |
| virtual DtTime | lastUpdateTime () const |
| Get the time-stamp of the last update. | |
| virtual void | setWakeModel (DtModel *wakeModel) |
| Set the wake model to be updated. | |
| DtUniqueID | uniqueId () const |
| Returns the distributed object id of this updater. | |
| virtual void | setPosition (const DtVector &pos) |
| Manually set the current position. | |
| virtual void | setOrientation (const DtTaitBryan &ori) |
| Manually set the current orientation. | |
| virtual void | setIsAmphibious (bool isAmphibious) |
| Set whether the wake needs to check to see if its over land. | |
Public Member Functions inherited from makVrv::DtTickable | |
| virtual bool | needsUpdate (DtTime tNow) |
| The check function called by DtTickableManager to verify if an update is required. | |
| virtual | ~DtTickable () |
| Virtual DTOR. | |
| virtual void | setUpdatePeriod (unsigned int period) |
| Specify how often (in # of frames) this tickable should call update. | |
| virtual unsigned int | updatePeriod () const |
| Specify how often (in # of frames) this tickable should call update. | |
Protected Attributes | |
| DtDe & | myDe |
| The display engine. | |
| DtUniqueID | myUniqueId |
| This distributed object's unique identifier. | |
| DtModel * | myWakeModel |
| A pointer to the current wake model being updated. | |
| DtTime | myLastUpdateTime |
| The last time stamp when the update() was called. | |
Protected Attributes inherited from makVrv::DtTickable | |
| DtTickableManagerInterface * | myManager |
| Pointer to manager for removal during destruction. | |
| DtSignalConnectionManager | myConnections |
| unsigned int | myFrameCounter |
| unsigned int | myFrameToUpdate |
| unsigned int | myUpdatePeriod |
Additional Inherited Members | |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager) | |
| CTOR. | |
| DtTickable () | |
| Unimplemented default CTOR. | |
| virtual void | slot_managerAboutToBeDeleted () |
Abstract wake object updater interface.
DtWakeUpdaters are distributed objects, managed by DtTickableManager. They update the wake of DtWakeModels
| makVrv::DtWakeUpdater::DtWakeUpdater | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
| [in] | de | is the display engine. |
| [in] | id | is a unique identifier for this distributed object. |
|
virtual |
Virtual DTOR.
|
pure virtual |
The update function called by DtTickableManager during update-ticks.
| [in] | tNow | is the current time-stamp. |
Implements makVrv::DtTickable.
Implemented in makVrv::DtTritonWakeUpdater.
|
virtual |
Get the time-stamp of the last update.
|
virtual |
Set the wake model to be updated.
| [in] | wakeModel | is a pointer to the model to be updated |
|
inline |
Returns the distributed object id of this updater.
|
inlinevirtual |
Manually set the current position.
| [in] | pos | is the position to set. |
Reimplemented in makVrv::DtTritonWakeUpdater.
|
inlinevirtual |
Manually set the current orientation.
| [in] | ori | is the orientation to set. |
Reimplemented in makVrv::DtTritonWakeUpdater.
|
inlinevirtual |
Set whether the wake needs to check to see if its over land.
Reimplemented in makVrv::DtTritonWakeUpdater.
|
protected |
The display engine.
|
protected |
This distributed object's unique identifier.
|
protected |
A pointer to the current wake model being updated.
|
protected |
The last time stamp when the update() was called.