MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
remoteControlSystemInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2011 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 
11 #pragma once
12 
15 
16 namespace MAKLogger
17 {
18 
22  {
23  public:
24 
26 
27 
29 
30  private:
35 
36  public:
37 
39 
40 
42  virtual DtSequenceNumber shutdown(
43  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
44 
47  virtual DtSequenceNumber deleteFile(const DtFilename& filename,
48  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
49 
51  virtual DtSequenceNumber requestStateUpdate(
52  const DtEntityIdentifier& id=DtRemoteControlInterface::wildcardAddress());
53 
55  virtual DtSequenceNumber requestToggleFlag(
56  DtLgrCtrlFlagStates flag, const DtEntityIdentifier& id/*=DtRemoteControlInterface::wildcardAddress()*/ );
57 
59 
61  virtual void processResponse(const DtLgrResponsePdu& responsePdu);
62 
64  virtual void clearReceivedResponseCounts();
65 
66  public:
67 
69  static const char* commandToString(int command);
70 
72  static void processTotalState(DtLgrTotalStatePdu* totalStatePdu, void* usr);
73 
74  protected:
75 
77 
78 
80  virtual void message(const DtEntityIdentifier& source, const DtString& message);
81 
83  virtual void consoleMessage(const DtEntityIdentifier& source, const DtString& message);
84 
86  virtual void startLongOperation(const DtEntityIdentifier& source,
87  const DtString& name, bool interruptable);
88 
90  virtual void finishLongOperation(const DtEntityIdentifier& source, bool canceled);
91 
93  virtual void fileDelete(const DtEntityIdentifier& source, const DtString& fileName, int deleteResult);
94 
96 
98  virtual void processTotalState(DtLgrTotalStatePdu* totalStatePdu);
99 
102  virtual void receivedTotalState();
103 
105  virtual void fileDeleted(const DtString& fileName);
106 
108  virtual void fileDeletionResult(const DtEntityIdentifier& source, const DtString& fileName, int deleteResult);
109 
110  protected:
111 
114 
117 
118  };
119 }
int myReceivedTotalState
Definition: remoteControlSystemInterface.h:115
DtString myDeleteFileName
Definition: remoteControlSystemInterface.h:113
Instances of DtLgrTotalStatePdu are used to convey to a remote logger- controller the total current s...
Definition: lcTotalState.h:43
#define DT_VIRTUAL_CTR(CLASS_NAME, ARG_TYPES_LIST)
Declare a Virtual Constructor Create using DT_VIRTUAL_CTR(CLASS_NAME,ARG_TYPES_LIST) Where CLASS_NAME...
Definition: virtualConstructor.h:34
int myReceivedFileDelete
Definition: remoteControlSystemInterface.h:116
#define DT_DLL_LGR_RCI
Definition: lgrRemoteControlInterface.h:18
Contains DT_VIRTUAL_CTR DT_VIRTUAL_CTR_DEFAULTS DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VI...
Primary interface to remote loggers.
Definition: remoteControlInterface.h:73
bool myPendingFileDelete
Definition: remoteControlSystemInterface.h:112
Contains MAKLogger::DtRemoteControlDomainInterface for handling playback remote control messages...
DtLgrCtrlFlagStates
Controlling runtime-settable flags and options of the Logger.
Definition: lcPdu.h:110
DtU32 DtSequenceNumber
Definition: remoteControlInterface.h:48
Base class for handling commands and responses.
Definition: remoteControlDomainInterface.h:27
static const DtEntityIdentifier & wildcardAddress()
The wildcard address.
Instances of DtLgrResponsePdu are to respond to a remote controller with the result of a logger comma...
Definition: lcResponse.h:19
Responsible for invoking system commands and processing system responses.
Definition: remoteControlSystemInterface.h:21

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)