|
| static void | timeAdvanceGrantedCb (DtTimeManagementControl *tmControl, void *usr) |
| |
| static DtTime | stringToSeconds (const DtString &timeString) |
| |
| static DtString & | secondsToElapsedTimeString (DtTime seconds, DtString &strBuffer) |
| |
| static DtString & | secondsToExerciseTimeString (DtTime seconds, DtString &strBuffer) |
| |
| static void | secondsToDaysHoursMinutesSeconds (DtTime secondsInput, int &days, int &hours, int &minutes, DtTime &seconds) |
| |
| static DtTime | daysHoursMinutesSecondsToSeconds (DtTime days, DtTime hours, DtTime minutes, DtTime seconds) |
| |
| static bool | processElapsedTimeString (const char *input, int &numDigitsFound, int &value1, int &value2, int &value3, int &value4) |
| |
| makVrf::DtHlaExerciseClock::DtHlaExerciseClock |
( |
DtExerciseConn * |
exerciseConn | ) |
|
| virtual makVrf::DtHlaExerciseClock::~DtHlaExerciseClock |
( |
| ) |
|
|
virtual |
copy constructor - not implemented
| virtual void makVrf::DtHlaExerciseClock::init |
( |
| ) |
|
|
virtual |
Initializes the clock - must be called before any other member functions are called.
Reimplemented from DtExerciseClock.
If in time constrained mode, call advanceFedTime() to advance federation (logical) time by my_dT.
Reimplemented from DtExerciseClock.
| virtual DtTime makVrf::DtHlaExerciseClock::fedTime |
( |
| ) |
const |
|
virtual |
HLA federation (logical) time.
| virtual DtTime makVrf::DtHlaExerciseClock::lookahead |
( |
| ) |
const |
|
virtual |
| virtual DtTime makVrf::DtHlaExerciseClock::epsilon |
( |
| ) |
const |
|
virtual |
| virtual DtTime makVrf::DtHlaExerciseClock::effectiveSimTime |
( |
| ) |
const |
|
virtual |
- Returns
- Effective sim time (the time that should be set in the DtExerciseConn). If in time-managed mode, this is the federation time plus the lookahead (it is related to simTime() by a fixed offset). If not in time-managed mode, returns simTime().
| virtual void makVrf::DtHlaExerciseClock::setInitialSimTime |
( |
DtTime |
time | ) |
|
|
virtual |
Set the initial simulation time (time recorded in a scenario file). Initializes myInitialSimTime and myInitialFederationTime (if in time management mode). Then calls down to base class setSimTime().
| virtual bool makVrf::DtHlaExerciseClock::enableTimeManagementMode |
( |
DtTime |
lookaheadInterval | ) |
|
|
virtual |
Returns whether or not exercise clock is in HLA time management mode (i.e. is time regulating and constrained).
| virtual bool makVrf::DtHlaExerciseClock::disableTimeManagementMode |
( |
| ) |
|
|
virtual |
| virtual bool makVrf::DtHlaExerciseClock::isInTimeManagementMode |
( |
| ) |
const |
|
virtual |
| virtual bool makVrf::DtHlaExerciseClock::startRegulatingTime |
( |
DtTime |
lookaheadInterval | ) |
|
|
protectedvirtual |
HLA time regulating mode. Applications that expect to send interactions in time management mode should be time regulating.
| virtual bool makVrf::DtHlaExerciseClock::stopRegulatingTime |
( |
| ) |
|
|
protectedvirtual |
| virtual bool makVrf::DtHlaExerciseClock::isTimeRegulating |
( |
| ) |
const |
|
protectedvirtual |
| virtual bool makVrf::DtHlaExerciseClock::enableTimeConstrainedMode |
( |
| ) |
|
|
protectedvirtual |
HLA time constrained mode.
| virtual bool makVrf::DtHlaExerciseClock::disableTimeConstrainedMode |
( |
| ) |
|
|
protectedvirtual |
| virtual bool makVrf::DtHlaExerciseClock::isTimeConstrained |
( |
| ) |
const |
|
protectedvirtual |
| virtual RTI::FedTime* makVrf::DtHlaExerciseClock::createFederationTime |
( |
DtTime |
time = 0.0 | ) |
const |
|
protectedvirtual |
- Returns
- New instance of a federation time object.
| virtual RTI::FedTime* makVrf::DtHlaExerciseClock::createFederationTimeInterval |
( |
DtTime |
time = 0.0 | ) |
const |
|
protectedvirtual |
- Returns
- New instance of a federation time object.
Updates myEffectiveFederationTime and sets this new time in the exercise connection.
assignment operator - not implemented
| DtExerciseConn* makVrf::DtHlaExerciseClock::myExerciseConn |
|
protected |
| RTI::FedTime* makVrf::DtHlaExerciseClock::myInitialFederationTime |
|
protected |
This time is set when simulation start time is set. Used to compute the current simulation time.
| DtTime makVrf::DtHlaExerciseClock::myInitialSimTime |
|
protected |
| RTI::FedTime* makVrf::DtHlaExerciseClock::myFederationTime |
|
protected |
| RTI::FedTime* makVrf::DtHlaExerciseClock::myEffectiveFederationTime |
|
protected |
| RTI::FedTime* makVrf::DtHlaExerciseClock::myLookahead |
|
protected |
| DtTime makVrf::DtHlaExerciseClock::myEpsilon |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-1-branch/include/vrlinkNetworkInterface/hlaExerciseClock.h