19 class DtMessageBuffer;
20 class DtCommandDefinition;
37 bool overwrite,
bool constructFilePathAndName),
39 bool& overwrite,
bool& constructFilePathAndName))
52 DT_FACTORY_COMMAND_EXT(5,Record,
57 DT_FACTORY_COMMAND_EXT(6,Pause,
62 DT_FACTORY_COMMAND_EXT(7,Unpause,
67 DT_FACTORY_COMMAND_EXT(8,Stop,
68 (
bool closeAndOpenForPlayback),
69 (const DtCommand&,
bool& closeAndOpenForPlayback))
72 DT_FACTORY_COMMAND_EXT(9,StopCondition,
73 (
int cond,
bool close),
74 (const DtCommand&,
int& cond,
bool& close))
77 DT_FACTORY_COMMAND_EXT(10,StopDuration,
82 DT_FACTORY_COMMAND_EXT(11,StopSize,
84 (const DtCommand&,DtU64& size))
87 DT_FACTORY_COMMAND_EXT(12,SetCheckpointParameters,
88 (
int policy,
int size,
int count,
DtAbsoluteTime time,
bool checkpointInteractions),
89 (const DtCommand&,
int& policy,
int& size,
int& count,
DtAbsoluteTime& time,
90 bool& checkpointInteractions))
93 DT_FACTORY_COMMAND_EXT(13,SetPauseOnRecordAs,
95 (const DtCommand&,
bool& record))
98 DT_FACTORY_COMMAND_EXT(14,SaveRecordedData,
102 bool& sinceLastSaveData,
double& outputDuration, DtMessageBuffer*&))
106 DT_FACTORY_COMMAND_EXT(15,SaveRecordedDataFinished,
107 (
bool success,const
DtString& message),
108 (const DtCommand&,
bool& success,
DtString& message))
111 DT_FACTORY_COMMAND_EXT(16,SetRecordToMultipleFilesSettings,
112 (
double duration,const
DtString& namingConvention),
113 (const DtCommand&,
double& duration,
DtString& namingConvention))
116 DT_FACTORY_COMMAND_EXT(17,RecordToMultipleFiles,
126 DT_FACTORY_RESPONSE_EXT(-2,NewFileFailed,
131 DT_FACTORY_RESPONSE_EXT(-3,FileClosed,
136 DT_FACTORY_RESPONSE_EXT(-10,RecordingChanged,
137 (
bool recordingState),
141 DT_FACTORY_RESPONSE_EXT(-11,RecordingPausedChanged,
142 (
bool recordingState),
145 DT_FACTORY_RESPONSE_EXT(-12,PauseOnRecordAsChanged,
149 DT_FACTORY_RESPONSE_EXT(-13,CheckpointPolicyChanged,
150 (
int policy,
int size,
int count,
DtAbsoluteTime time,
bool checkpointInteractions),
153 DT_FACTORY_RESPONSE_EXT(-14,FileEmptyChanged,
157 DT_FACTORY_RESPONSE_EXT(-15,RecordToMultipleFilesSettingsChanged,
158 (
double duration,const
DtString& namingConvention),
159 (DtResponse,
double& duration,
DtString& namingConvention))
164 static const
char* commandToString(
int commandId);
167 static const
char* responseToString(
int responseId);