MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrRemoteGui
lgrRemoteCmdLine.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 "
lgrRemoteGui.h
"
12
#include "
lgrValueArg.h
"
13
14
#include <vl/exConnInit.h>
15
#include <mtl/lispEnv.h>
16
17
namespace
DtCmdLine
18
{
19
class
CmdLine
;
20
class
Arg;
21
}
22
23
namespace
MAKLogger
24
{
26
27
class
DtLgrArg;
28
class
DtLoggerAppConfigLoader;
29
class
DtLgrCmdLine;
30
32
class
DT_DLL_LGRREMOTEGUI
DtLgrCtrlGuiCommandLine
33
{
34
public
:
35
36
DtLgrCtrlGuiCommandLine
();
37
38
virtual
~
DtLgrCtrlGuiCommandLine
();
39
40
private
:
42
DtLgrCtrlGuiCommandLine
(
const
DtLgrCtrlGuiCommandLine
&);
44
DtLgrCtrlGuiCommandLine
& operator=(
const
DtLgrCtrlGuiCommandLine
&);
45
public
:
46
49
virtual
void
processCommandLine(
int
argc,
char
** argv);
50
52
53
virtual
int
numberOfLoggers()
const
;
54
virtual
int
remoteControlId()
const
;
55
virtual
double
connectionTimeout()
const
;
56
virtual
double
acknowledgeTimeout()
const
;
57
virtual
const
std::string& backChannelAddress()
const
;
58
virtual
const
std::string& backChannelInterface()
const
;
59
virtual
int
backChannelPort()
const
;
61
62
63
protected
:
64
66
virtual
void
initializeArguments(
DtLgrCmdLine
& cmdLine);
67
72
virtual
void
addArgument(
DtLgrCmdLine
& cmdLine,
DtLgrArg
* arg,
bool
isUnlabeled=
false
);
73
74
typedef
std::map<DtString,DtLgrArg*>
ArgumentMap
;
75
ArgumentMap
myArguments
;
76
DtLgrValueArg<int>
myNumberOfLoggers
;
77
DtLgrValueArg<int>
myRemoteControlId
;
78
DtLgrValueArg<double>
myConnectionTimeout
;
79
DtLgrValueArg<double>
myAcknowledgeTimeout
;
80
DtLgrValueArg<std::string>
myBackChannelAddress
;
81
DtLgrValueArg<std::string>
myBackChannelInterface
;
82
DtLgrValueArg<int>
myBackChannelPort
;
83
};
84
85
}
Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)