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-2016 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:
29 
32 
34 
35 
36  // Pointer is a DtLgrCommandThread
37  DT_FACTORY_COMMAND_EXT(1, FinishCommandThread,
38  (void* thread),
39  (const DtCommand& command, void*& thread))
40 
41  //@}
42 
43 
44  static const DtLgrCommandId theLastCommandId = 100;
46 
48 
49 
50  DT_FACTORY_RESPONSE_EXT(-1, CurrentTimeChanged,
51  (DtAbsoluteTime currentTime),
52  (DtResponse response, DtAbsoluteTime& currentTime))
53 
54  DT_FACTORY_RESPONSE_EXT(-2, StartStopTimesChanged,
55  (DtAbsoluteTime startTime, DtAbsoluteTime stopTime),
56  (DtResponse response, DtAbsoluteTime& startTime, DtAbsoluteTime& stopTime))
57 
58  DT_FACTORY_RESPONSE_EXT(-3, FirstLastTimesChanged,
59  (DtAbsoluteTime firstTime, DtAbsoluteTime lastTime),
60  (DtResponse response, DtAbsoluteTime& firstTime, DtAbsoluteTime& lastTime))
61 
63 
66  static const DtLgrCommandId theLastResponseId = -100;
67 
69  static const char* commandToString(int commandId);
70 
72  static const char* responseToString(int responseId);
73 
74  };
75 }
The logger command which contains the command type and its parameters.
Definition: lgrCommand.h:109
The command type structure.
Definition: lgrCommand.h:29
#define DT_FACTORY_COMMAND_EXT(commandId, commandName, createParams, decodeParams)
Utility Macros for declaring Command in Factory.
Definition: lgrCommand.h:183
#define DT_DLL_LGR_CMDS
Definition: lgrCmds.h:18
DtBoost::shared_ptr< const DtCommand > DtResponse
Definition: lgrCommand.h:174
Contains MAKLogger::DtLgrCommandType and MAKLogger::DtCommand classes.
The factory class responsible for created time related commands.
Definition: lgrTimeCommandFactory.h:21
#define DT_FACTORY_RESPONSE_EXT(responseId, responseName, createParams, decodeParams)
Utility Macros for declaring Response in Factory.
Definition: lgrCommand.h:198
Contains lgrCmds library definitions.
class DT_DLL_LGRUTIL DtAbsoluteTime
Definition: absoluteTime.h:22
static const DtLgrCommandType theCommandType
The command type for all commands from this factory.
Definition: lgrTimeCommandFactory.h:31
short DtLgrCommandId
Definition: lgrCommand.h:25
Absolute Time, a particular measured instance in time, could be thought of as a set of relative times...
Definition: absoluteTime.h:82

Document ID: Generated on Mon Mar 22 15:30:17 EDT 2021 from SVN revision 226440
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)