![]() |
MAK Data Logger API Documentation for HLA
|
A time component represents the current time of the logger. More...
Inheritance diagram for MAKLogger::DtTimeComponent:
Collaboration diagram for MAKLogger::DtTimeComponent:Public Slots | |
| virtual void | setStartStopTimes (const DtAbsoluteTime &, const DtAbsoluteTime &, bool emitSignal=true) |
| Concepts: More... | |
| virtual void | setFirstTime (const DtAbsoluteTime &) |
| virtual void | setLastTime (const DtAbsoluteTime &) |
| virtual void | setCurrentTime (const DtAbsoluteTime &) |
| virtual void | emitSetCurrentTime (const DtAbsoluteTime &) |
| virtual void | emitStartStopTimesChanged (const DtAbsoluteTime &, const DtAbsoluteTime &) |
| virtual void | setFollowMode (bool mode) |
| Enable follow mode. More... | |
| virtual void | setFollowHoldTime (const DtAbsoluteTime &holdTime) |
| Hold the advance of time bar when following until it gets past this time. More... | |
| virtual void | setFollowTime (DtRelativeTime interval) |
| Set the interval or window of time that follows current time when recording. More... | |
Signals | |
| void | firstTimeChanged (const DtAbsoluteTime &) |
| Distribution. More... | |
| void | lastTimeChanged (const DtAbsoluteTime &) |
| void | startStopTimesChanged (const DtAbsoluteTime &, const DtAbsoluteTime &) |
| void | currentTimeChanged (const DtAbsoluteTime &) |
| void | modifyCurrentTime (const DtAbsoluteTime &) |
| void | modifyStartStopTime (const DtAbsoluteTime &, const DtAbsoluteTime &) |
| void | followModeChanged (bool) |
| Signal that the follow mode has changed. More... | |
Public Member Functions | |
| DtTimeComponent () | |
| virtual | ~DtTimeComponent () |
| virtual DtAbsoluteTime | timeOfPercentFirstLast (float percent) const |
| Calculate the time based on a percentage between the first and last times. More... | |
| virtual float | percentOfTimeFirstLast (const DtAbsoluteTime &time) const |
| Calculate the percent on a time between the first and last times. More... | |
| virtual DtAbsoluteTime | timeOfPercentStartStop (float percent) const |
| Calculate the time based on a percentage between the start and stop times. More... | |
| virtual float | percentOfTimeStartStop (const DtAbsoluteTime &time) const |
| Calculate the percent on a time between the start and stop times. More... | |
| virtual DtAbsoluteTime | firstTime () const |
| Get the first time that is valid. More... | |
| virtual DtAbsoluteTime | lastTime () const |
| Get the last time that is valid. More... | |
| virtual DtAbsoluteTime | startTime () const |
| Get the start time. More... | |
| virtual DtAbsoluteTime | stopTime () const |
| Get the stop time. More... | |
| virtual DtAbsoluteTime | currentTime () const |
| Get the current time. More... | |
| virtual DtRelativeTime | length () const |
| Get the total length. This is last minus first. More... | |
| virtual DtRelativeTime | duration () const |
| Get the current duration. This is stop minus start. More... | |
| bool | followModeEnabled () const |
| Get whether follow mode is enabled. More... | |
| virtual DtAbsoluteTime | followFirstTime () const |
| Get the start time for the following interval. More... | |
| virtual DtAbsoluteTime | followLastTime () const |
| Get the start time for the following interval. More... | |
| virtual DtAbsoluteTime | followHoldTime () const |
| Get the last time of the initial and post jump follow interval. More... | |
| virtual DtRelativeTime | followTime () const |
| Get the interval or window of time that follows current time when recording. More... | |
Static Public Member Functions | |
| static void | listenOnly (const DtTimeComponent *, const DtTimeComponent *) |
| Connect the second component to listen only to the first. More... | |
| static void | disconnect (const DtTimeComponent *, const DtTimeComponent *) |
| Connect two time components so they stay synchronized. More... | |
Protected Attributes | |
| DtAbsoluteTime | myFirstTime |
| Bounds. More... | |
| DtAbsoluteTime | myLastTime |
| DtAbsoluteTime | myStartTime |
| Dynamic parameters. More... | |
| DtAbsoluteTime | myStopTime |
| DtAbsoluteTime | myCurrentTime |
| DtAbsoluteTime | myFollowHoldTime |
| DtRelativeTime | myFollowTime |
| bool | myFollowModeFlag |
Private Member Functions | |
| DtTimeComponent (const DtTimeComponent &) | |
| Not Implemented. More... | |
| DtTimeComponent & | operator= (const DtTimeComponent &) |
| Not Implemented. More... | |
A time component represents the current time of the logger.
The time can be synchronized between all the time components.
| MAKLogger::DtTimeComponent::DtTimeComponent | ( | ) |
|
virtual |
|
private |
Not Implemented.
|
virtual |
Get the current time.
|
signal |
|
static |
Connect two time components so they stay synchronized.
static void connect(const DtTimeComponent*,const DtTimeComponent*); Disconnect two time components that were connected.
|
virtual |
Get the current duration. This is stop minus start.
|
virtualslot |
|
virtualslot |
|
virtual |
Get the first time that is valid.
|
signal |
Distribution.
|
virtual |
Get the start time for the following interval.
|
virtual |
Get the last time of the initial and post jump follow interval.
|
virtual |
Get the start time for the following interval.
|
signal |
Signal that the follow mode has changed.
| bool MAKLogger::DtTimeComponent::followModeEnabled | ( | ) | const |
Get whether follow mode is enabled.
true Follow mode is enabled. false Follow mode is not enabled, absolute mode is used.
|
virtual |
Get the interval or window of time that follows current time when recording.
|
virtual |
Get the last time that is valid.
|
signal |
|
virtual |
Get the total length. This is last minus first.
|
static |
Connect the second component to listen only to the first.
|
signal |
|
signal |
|
private |
Not Implemented.
|
virtual |
Calculate the percent on a time between the first and last times.
|
virtual |
Calculate the percent on a time between the start and stop times.
|
virtualslot |
|
virtualslot |
|
virtualslot |
Hold the advance of time bar when following until it gets past this time.
|
virtualslot |
Enable follow mode.
|
virtualslot |
Set the interval or window of time that follows current time when recording.
|
virtualslot |
|
virtualslot |
Concepts:
|
signal |
|
virtual |
Get the start time.
|
virtual |
Get the stop time.
|
virtual |
Calculate the time based on a percentage between the first and last times.
|
virtual |
Calculate the time based on a percentage between the start and stop times.
|
protected |
|
protected |
Bounds.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Dynamic parameters.
|
protected |