MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
15 #include <lgrCmds/lgrCommand.h>
16 
17 #include <vlutil/vlString.h>
18 
19 class DtEntityIdentifier;
20 class DtLgrResponsePdu;
21 
22 namespace MAKLogger
23 {
24 
28  {
29  public:
30 
33  int domainId);
34 
37 
38  private:
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 
93  };
94 }
DtLgrCommandId myLastSentCommand
Definition: remoteControlDomainInterface.h:90
std::set< DtEntityIdentifier > DtEntityIdSet
Definition: remoteControlInterface.h:52
int myDomainId
Definition: remoteControlDomainInterface.h:85
#define DT_DLL_LGR_RCI
Definition: lgrRemoteControlInterface.h:18
Contains MAKLogger::DtRemoteControlInterface for listening the Logger Control Toolkit messages...
Primary interface to remote loggers.
Definition: remoteControlInterface.h:73
const DtString myTrueString
Definition: remoteControlDomainInterface.h:91
DtSequenceNumberSet myPendingCommands
Definition: remoteControlDomainInterface.h:89
DtU32 DtSequenceNumber
Definition: remoteControlInterface.h:48
Base class for handling commands and responses.
Definition: remoteControlDomainInterface.h:27
const DtString myFalseString
Definition: remoteControlDomainInterface.h:92
Contains MAKLogger::DtLgrCommandType and MAKLogger::DtCommand classes.
DtRemoteControlInterface * myInterface
Definition: remoteControlDomainInterface.h:87
std::set< DtSequenceNumber > DtSequenceNumberSet
Definition: remoteControlInterface.h:51
DtString myDomainName
Definition: remoteControlDomainInterface.h:86
Instances of DtLgrResponsePdu are to respond to a remote controller with the result of a logger comma...
Definition: lcResponse.h:19
DtEntityIdSet mySourcesPendingResponse
Definition: remoteControlDomainInterface.h:88
Contains lgrRemoteControlInterface library definitions.
short DtLgrCommandId
Definition: lgrCommand.h:25

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)