MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
lgrCmds
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
21
class
DT_DLL_LGR_CMDS
DtLgrTimeCommandFactory
22
{
23
24
private
:
26
DtLgrTimeCommandFactory
();
27
28
public
:
29
31
static
const
DtLgrCommandType
theCommandType
;
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
45
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
}
Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (
www.mak.com
)