MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrSim
remoteControlDomainInterface.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
9
10
11
#pragma once
12
13
#include "
lgrSim.h
"
14
#include "
remoteControlInterface.h
"
15
#include "
lgrCommand.h
"
16
17
#include <vlutil/vlString.h>
18
19
class
DtEntityIdentifier;
20
class
DtLgrResponsePdu;
21
22
namespace
MAKLogger
23
{
24
27
class
DT_DLL_LGRSIM
DtRemoteControlDomainInterface
28
{
29
public
:
30
32
DtRemoteControlDomainInterface
(
DtRemoteControlInterface
* remoteControlInterface,
33
int
domainId);
34
36
virtual
~
DtRemoteControlDomainInterface
();
37
38
private
:
40
DtRemoteControlDomainInterface
(
const
DtRemoteControlDomainInterface
&);
42
DtRemoteControlDomainInterface
& operator=(
const
DtRemoteControlDomainInterface
&);
43
44
public
:
45
47
virtual
void
commandAccepted(
DtSequenceNumber
sequenceNumber);
48
50
virtual
void
commandRejected(
const
DtEntityIdentifier& source,
DtSequenceNumber
sequenceNumber);
51
53
virtual
void
commandTimedOut(
DtSequenceNumber
sequenceNumber);
54
56
virtual
void
processResponse(
const
DtLgrResponsePdu& responsePdu)=0;
57
59
virtual
DtLgrCommandId
lastSentCommand()
const
;
60
62
virtual
const
DtEntityIdSet
& sourcesPendingResponse()
const
;
63
65
virtual
void
setSourcesPendingResponse(
const
DtEntityIdSet
& sourceIds);
66
68
virtual
bool
isResponsePending()
const
;
69
74
virtual
const
DtSequenceNumberSet
& pendingCommands()
const
;
75
78
virtual
void
clearPendingCommand(
DtSequenceNumber
number=0);
79
81
virtual
const
DtString
& boolToString(
bool
value)
const
;
82
83
protected
:
84
85
int
myDomainId
;
86
DtString
myDomainName
;
87
DtRemoteControlInterface
*
myInterface
;
88
DtEntityIdSet
mySourcesPendingResponse
;
89
DtSequenceNumberSet
myPendingCommands
;
90
DtLgrCommandId
myLastSentCommand
;
91
const
DtString
myTrueString
;
92
const
DtString
myFalseString
;
93
};
94
}
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
)