Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
MAKLogger::DtLgrTimeInterface Class Reference

The class for interfacing with the loggers time state. More...

+ Inheritance diagram for MAKLogger::DtLgrTimeInterface:
+ Collaboration diagram for MAKLogger::DtLgrTimeInterface:

List of all members.

Public Types

typedef std::pair
< DtAbsoluteTime,
DtAbsoluteTime
TimePair
typedef DtLgrTimeCommandFactory Factory
typedef DtLgrTimeInterface ThisClass

Public Member Functions

virtual ~DtLgrTimeInterface ()
 DTOR.
virtual const DtAbsoluteTimecurrentTime () const
 Current time in the tape.
virtual const DtAbsoluteTimestartTime () const
 Time to start must be >= of firstTime && <= currentTime.
virtual const DtAbsoluteTimestopTime () const
 Time to stop, must be <= of lastTime && >= currentTime.
virtual const DtAbsoluteTimefirstTime () const
 First valid time, start time must be greater or equal to this time.
virtual const DtAbsoluteTimelastTime () 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< DtAbsoluteTimecurrentTimeChangedSignal
 Response handlers.
DtValueSignal< TimePair > startStopTimesChangedSignal
DtValueSignal< DtAbsoluteTimefirstTimeChangedSignal
DtValueSignal< DtAbsoluteTimelastTimeChangedSignal

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

Detailed Description

The class for interfacing with the loggers time state.


The documentation for this class was generated from the following file:

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)