19 class DtMessageBuffer;
20 class DtCommandDefinition;
36 (
const DtString& filename,
const DtString& description,
bool overwrite,
bool constructFilePathAndName),
37 (
const DtCommand& command,DtString& filename, DtString& description,
bool& overwrite,
bool& constructFilePathAndName))
50 DT_FACTORY_COMMAND_EXT(5,Record,
55 DT_FACTORY_COMMAND_EXT(6,Pause,
60 DT_FACTORY_COMMAND_EXT(7,Unpause,
65 DT_FACTORY_COMMAND_EXT(8,Stop,
66 (
bool closeAndOpenForPlayback),
67 (const DtCommand&,
bool& closeAndOpenForPlayback))
70 DT_FACTORY_COMMAND_EXT(9,StopCondition,
71 (
int cond,
bool close),
72 (const DtCommand&,
int& cond,
bool& close))
75 DT_FACTORY_COMMAND_EXT(10,StopDuration,
80 DT_FACTORY_COMMAND_EXT(11,StopSize,
82 (const DtCommand&,DtU64& size))
85 DT_FACTORY_COMMAND_EXT(12,SetCheckpointParameters,
87 (const DtCommand&,
int& policy,
int& size,
int& count,
91 DT_FACTORY_COMMAND_EXT(13,SetPauseOnRecordAs,
93 (const DtCommand&,
bool& record))
96 DT_FACTORY_COMMAND_EXT(14,SaveRecordedData,
97 (const DtString& filename,
bool sinceLastSaveData,
99 (const DtCommand&, DtString& filename,
bool& sinceLastSaveData,
100 double& outputDuration, DtMessageBuffer*&))
104 DT_FACTORY_COMMAND_EXT(15,SaveRecordedDataFinished,
105 (
bool success,const DtString& message),
106 (const DtCommand&,
bool& success,DtString& message))
109 DT_FACTORY_COMMAND_EXT(16,SetRecordToMultipleFilesSettings,
110 (
double duration,const DtString& namingConvention),
111 (const DtCommand&,
double& duration,DtString& namingConvention))
114 DT_FACTORY_COMMAND_EXT(17,RecordToMultipleFiles,
115 (const DtString& fileName),
116 (const DtCommand&, DtString& fileName))
120 (const DtString& filename),
124 DT_FACTORY_RESPONSE_EXT(-2,NewFileFailed,
125 (const DtString& reason),
129 DT_FACTORY_RESPONSE_EXT(-3,FileClosed,
134 DT_FACTORY_RESPONSE_EXT(-10,RecordingChanged,
135 (
bool recordingState),
139 DT_FACTORY_RESPONSE_EXT(-11,RecordingPausedChanged,
140 (
bool recordingState),
143 DT_FACTORY_RESPONSE_EXT(-12,PauseOnRecordAsChanged,
147 DT_FACTORY_RESPONSE_EXT(-13,CheckpointPolicyChanged,
151 DT_FACTORY_RESPONSE_EXT(-14,FileEmptyChanged,
155 DT_FACTORY_RESPONSE_EXT(-15,RecordToMultipleFilesSettingsChanged,
156 (
double duration,const DtString& namingConvention),
157 (DtResponse,
double& duration,DtString& namingConvention))
162 static const
char* commandToString(
int commandId);
165 static const
char* responseToString(
int responseId);