MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
remoteControlRecordInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2026 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 
11 #pragma once
12 
15 #include <lgrUtil/absoluteTime.h>
16 
17 #include <vlutil/vlString.h>
18 
19 class DtFilename;
20 
21 namespace MAKLogger
22 {
23 
27  {
28  public:
29 
31 
32 
34 
35  private:
40 
41  public:
42 
44  virtual const DtFilename& fileName() const;
45 
47 
48  virtual bool isFileOpened() const;
49  virtual void resetIsFileOpened(bool fileOpened);
51 
53 
54  virtual bool isRecording() const;
55  virtual void resetIsRecording(bool recording);
57 
59 
60  virtual bool isPaused() const;
61  virtual void resetIsPaused(bool paused);
63 
65 
66  virtual bool isPauseOnRecord() const;
67  virtual void resetIsPauseOnRecord(bool pauseOnRecord);
69 
71 
72 
74  virtual DtSequenceNumber newFile(const DtFilename& filename, const DtString& description,
75  bool overwrite, bool constructFileNameAndPath, bool constructMediaPipeline,
76  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
77 
80  virtual DtSequenceNumber closeFile(
81  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
82 
85  virtual DtSequenceNumber record(bool multipleFiles,
86  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
87 
90  virtual DtSequenceNumber cancel(
91  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
92 
95  virtual DtSequenceNumber stop(bool closeAndOpenForPlayback,
96  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
97 
100  virtual DtSequenceNumber pause(
101  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
102 
105  virtual DtSequenceNumber unpause(
106  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
107 
109  virtual DtSequenceNumber setPauseOnRecord(bool enable,
110  const DtEntityIdentifier& destination=DtRemoteControlInterface::wildcardAddress());
111 
113 
115  virtual void processResponse(const DtLgrResponsePdu& responsePdu);
116 
118  virtual void clearReceivedResponseCounts();
119 
120  public:
121 
123  static const char* commandToString(int command);
124 
125  protected:
126 
128 
129 
131  virtual void newFileOpened(const DtEntityIdentifier& source, const DtString& filename);
132 
135  virtual void newFileOpened(const DtString& filename);
136 
140  virtual void newFileFailed(const DtEntityIdentifier& source, const DtString& reason);
141 
143  virtual void fileClosed(const DtEntityIdentifier& source);
144 
147  virtual void fileClosed();
148 
150  virtual void recordingChanged(const DtEntityIdentifier& source, bool recordingState);
151 
154  virtual void recordingChanged(bool recordingState);
155 
157  virtual void recordingPausedChanged(const DtEntityIdentifier& source, bool paused);
158 
161  virtual void recordingPausedChanged(bool paused);
162 
164  virtual void fileEmptyChanged(const DtEntityIdentifier& source);
165 
168  virtual void fileEmptyChanged();
169 
171  virtual void pauseOnRecordAsChanged(const DtEntityIdentifier& source, bool enable);
172 
175  virtual void pauseOnRecordAsChanged(bool enable);
176 
178 
179  protected:
180 
181  DtFilename myFileName;
190 
198 
199  };
200 }
int myReceivedNewFileFailed
Definition: remoteControlRecordInterface.h:193
bool myIsPauseOnRecord
Definition: remoteControlRecordInterface.h:188
int myReceivedPauseOnRecordAsChanged
Definition: remoteControlRecordInterface.h:197
#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
DtFilename myFileName
Definition: remoteControlRecordInterface.h:181
#define DT_DLL_LGR_RCI
Definition: lgrRemoteControlInterface.h:18
bool myIsFileRecording
Definition: remoteControlRecordInterface.h:184
bool myIsFileOpened
Definition: remoteControlRecordInterface.h:182
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
Contains MAKLogger::DtRemoteControlDomainInterface for handling playback remote control messages...
int myReceivedRecordingPausedChanged
Definition: remoteControlRecordInterface.h:195
DtU32 DtSequenceNumber
Definition: remoteControlInterface.h:48
Base class for handling commands and responses.
Definition: remoteControlDomainInterface.h:27
int myReceivedFileClosed
Definition: remoteControlRecordInterface.h:192
int myReceivedFileEmptyChanged
Definition: remoteControlRecordInterface.h:196
bool myPendingIsPaused
Definition: remoteControlRecordInterface.h:187
int myReceivedNewFileOpened
Definition: remoteControlRecordInterface.h:191
static const DtEntityIdentifier & wildcardAddress()
The wildcard address.
Contains MAKLogger::DtAbsoluteTime and MAKLogger::DtRelativeTime classes.
int myReceivedRecordingChanged
Definition: remoteControlRecordInterface.h:194
bool myIsPaused
Definition: remoteControlRecordInterface.h:186
Instances of DtLgrResponsePdu are to respond to a remote controller with the result of a logger comma...
Definition: lcResponse.h:19
bool myPendingIsPauseOnRecord
Definition: remoteControlRecordInterface.h:189
bool myPendingIsFileOpened
Definition: remoteControlRecordInterface.h:183
Responsible for invoking record commands and processing record responses.
Definition: remoteControlRecordInterface.h:26
bool myPendingIsFileRecording
Definition: remoteControlRecordInterface.h:185

Document ID: Generated on Tue Nov 17 15:25:07 EST 2026 from SVN revision 298446
Copyright © 2026 MAK Technologies. All Rights Reserved (www.mak.com)