MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrTimeCommandFactory.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "lgrCmds.h"
12 #include <lgrCmds/lgrCommand.h>
13 
14 namespace MAKLogger
15 {
16  class DtAbsoluteTime;
17  class DtCommandDefinition;
18 
22  {
23 
24  private:
27 
28  public:
31 
32  public:
33  static const DtLgrCommandId Response_CurrentTimeChanged = -1;
34  static const DtLgrCommandId Response_StartStopTimesChanged = -2;
35  static const DtLgrCommandId Response_FirstLastTimesChanged = -3;
36 
38  static DtResponse createStartStopTimesChangedResponse(
39  DtAbsoluteTime startTime,DtAbsoluteTime stopTime);
41  static void decodeStartStopTimesChangedResponse(DtResponse response,
42  DtAbsoluteTime& startTime,DtAbsoluteTime& stopTime);
43 
45  static DtResponse createCurrentTimeChangedResponse(
46  DtAbsoluteTime currentTime);
48  static void decodeCurrentTimeChangedResponse(DtResponse response,
49  DtAbsoluteTime& currentTime);
50 
52  static DtResponse createFirstLastTimesChangedResponse(
53  DtAbsoluteTime firstTime,DtAbsoluteTime lastTime);
55  static void decodeFirstLastTimesChangedResponse(DtResponse response,
56  DtAbsoluteTime& firstTime,DtAbsoluteTime& stopTime);
57 
59  static const char* commandToString(int commandId);
60 
62  static const char* responseToString(int responseId);
63 
64  };
65 }

Document ID: Generated on Thu Apr 7 20:50:59 EDT 2016 from SVN revision 163818
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)