The class for interfacing with the loggers time state. More...
Inheritance diagram for MAKLogger::DtLgrTimeInterface:
Collaboration diagram for MAKLogger::DtLgrTimeInterface:Public Types | |
|
typedef std::pair < DtAbsoluteTime, DtAbsoluteTime > | TimePair |
| typedef DtLgrTimeCommandFactory | Factory |
| typedef DtLgrTimeInterface | ThisClass |
Public Member Functions | |
| virtual | ~DtLgrTimeInterface () |
| DTOR. | |
| virtual const DtAbsoluteTime & | currentTime () const |
| Current time in the tape. | |
| virtual const DtAbsoluteTime & | startTime () const |
| Time to start must be >= of firstTime && <= currentTime. | |
| virtual const DtAbsoluteTime & | stopTime () const |
| Time to stop, must be <= of lastTime && >= currentTime. | |
| virtual const DtAbsoluteTime & | firstTime () const |
| First valid time, start time must be greater or equal to this time. | |
| virtual const DtAbsoluteTime & | lastTime () const |
| Last valid time, stop time must be less than or equal to this time. | |
| virtual bool | atStartTime () const |
| Return if current time is the startTime of file;. | |
| virtual bool | atStopTime () const |
| Return if current time is the startTime of file;. | |
| void | currentTimeChanged (DtResponse) |
| Callback for currentTimeChanged. | |
| void | startStopTimesChanged (DtResponse) |
| Callback for startStopTimesChanged. | |
| void | firstLastTimesChanged (DtResponse) |
| Callback for firstLastTimesChanged. | |
Public Attributes | |
| DtValueSignal< DtAbsoluteTime > | currentTimeChangedSignal |
| Response handlers. | |
| DtValueSignal< TimePair > | startStopTimesChangedSignal |
| DtValueSignal< DtAbsoluteTime > | firstTimeChangedSignal |
| DtValueSignal< DtAbsoluteTime > | lastTimeChangedSignal |
Protected Member Functions | |
| DtLgrTimeInterface (DtLogger &logger) | |
| Ctr with Logger and driver for initialization of state. | |
| void | connectResponse (DtLgrCommandId, void(DtLgrTimeInterface::*)(DtResponse)) |
| Hooks up a DtResponse callback. | |
Protected Attributes | |
| DtAbsoluteTime | myCurrentTime |
| DtAbsoluteTime | myFirstTime |
| DtAbsoluteTime | myLastTime |
| TimePair | myStartStopTimes |
The class for interfacing with the loggers time state.