![]() |
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 | setFollowMode (bool) |
| Enable follow mode. | |
| virtual void | setStartStopTimes (const DtAbsoluteTime &, const DtAbsoluteTime &, bool emitSignal=true) |
| 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 &) |
Signals | |
| void | firstTimeChanged (const DtAbsoluteTime &) |
| Distribution. | |
| 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) |
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. | |
| virtual float | percentOfTimeFirstLast (const DtAbsoluteTime &time) const |
| Calculate the percent on a time between the first and last times. | |
| virtual DtAbsoluteTime | timeOfPercentStartStop (float percent) const |
| Calculate the time based on a percentage between the start and stop times. | |
| virtual float | percentOfTimeStartStop (const DtAbsoluteTime &time) const |
| Calculate the percent on a time between the start and stop times. | |
| bool | followModeEnabled () const |
| Get whether follow mode is enabled. | |
| virtual DtAbsoluteTime | firstTime () const |
| Concepts: | |
| virtual DtAbsoluteTime | lastTime () const |
| Get the last time that is valid. | |
| virtual DtAbsoluteTime | startTime () const |
| Get the start time. | |
| virtual DtAbsoluteTime | stopTime () const |
| Get the stop time. | |
| virtual DtAbsoluteTime | currentTime () const |
| Get the current time. | |
| virtual DtRelativeTime | length () const |
| Get the total length. This is last minus first. | |
| virtual DtRelativeTime | duration () const |
| Get the current duration. This is stop minus start. | |
Static Public Member Functions | |
| static void | listenOnly (const DtTimeComponent *, const DtTimeComponent *) |
| Connect the second component to listen only to the first. | |
| static void | disconnect (const DtTimeComponent *, const DtTimeComponent *) |
| Connect two time components so they stay synchronized. | |
Private Member Functions | |
| DtTimeComponent (const DtTimeComponent &) | |
| Not Implemented. | |
| DtTimeComponent & | operator= (const DtTimeComponent &) |
| Not Implemented. | |
Private Attributes | |
| DtAbsoluteTime | myFirstTime |
| Bounds. | |
| DtAbsoluteTime | myLastTime |
| DtAbsoluteTime | myStartTime |
| Dynamic parameters. | |
| DtAbsoluteTime | myStopTime |
| DtAbsoluteTime | myCurrentTime |
| bool | myFollowModeFlag |
| DtRelativeTime | myFollowTime |
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 |
Concepts:
Get the first time that is valid.
|
signal |
Distribution.
|
signal |
| 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 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 |
Enable follow mode.
|
virtualslot |
|
virtualslot |
|
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.
|
private |
|
private |
Bounds.
|
private |
|
private |
|
private |
|
private |
Dynamic parameters.
|
private |