MAK Data Logger API Documentation for HLA
lgrTimeInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef lgrTimeInterface_H_
11 #define lgrTimeInterface_H_
12 
13 #include "lgrSystemInterface.h"
14 
15 namespace MAKLogger
16 {
17  class DtLgrTimeCommandFactory;
18 
22  {
23  public:
24  typedef std::pair<DtAbsoluteTime,DtAbsoluteTime> TimePair;
25 
26  //Used to shorten code.
28 
29  //Used to shorten code.
31 
32  protected:
33 
36 
37  public:
39  virtual ~DtLgrTimeInterface();
40 
42  virtual const DtAbsoluteTime& currentTime() const;
43 
45  virtual const DtAbsoluteTime& startTime() const;
46 
48  virtual const DtAbsoluteTime& stopTime() const;
49 
51  virtual const DtAbsoluteTime& firstTime() const;
52 
54  virtual const DtAbsoluteTime& lastTime() const;
55 
57  virtual bool atStartTime() const;
58 
60  virtual bool atStopTime() const;
61 
63  void currentTimeChanged(DtResponse);
65  void startStopTimesChanged(DtResponse);
67  void firstLastTimesChanged(DtResponse);
68 
74 
75  protected:
77  void connectResponse(DtLgrCommandId,
78  void (DtLgrTimeInterface::*)(DtResponse));
79 
80  protected:
85  };
86 }
87 
88 #endif

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)