19 class DtCommandDefinition;
53 (const
DtCommand& command,
bool& reopenAfterSave))
56 DT_FACTORY_COMMAND_EXT(4,SaveFileAs,(const
DtString& filename,
57 const
DtString& description, const
bool writeDescription,
58 const
bool reopenAfterSave),
60 bool& writeDescription,
bool& reopenAfterSave))
64 DT_FACTORY_COMMAND_EXT(5,Revert,(),(const
DtCommand& command))
67 DT_FACTORY_COMMAND_EXT(6,SetBackupOnSave,(
bool backup),
72 DT_FACTORY_COMMAND_EXT(10,Play,(),(
DtCommand& command))
76 DT_FACTORY_COMMAND_EXT(11,Stop,(),(
DtCommand& command))
80 DT_FACTORY_COMMAND_EXT(12,Restart,(),(
DtCommand& command))
84 DT_FACTORY_COMMAND_EXT(13,PlayPause,(),(
DtCommand& command))
87 DT_FACTORY_COMMAND_EXT(14,SetLoopAtEnd,(
bool enable),
91 DT_FACTORY_COMMAND_EXT(16,SetPlayOnLoad,(
bool play),
95 DT_FACTORY_COMMAND_EXT(20,SetPlaybackSpeed,(
double speed,
bool skipping),
96 (const
DtCommand& command,
double& speed,
bool& skipping))
104 DT_FACTORY_COMMAND_EXT(22,Pause,(),(
DtCommand& command))
108 DT_FACTORY_COMMAND_EXT(23,Unpause,(),(
DtCommand& command))
111 DT_FACTORY_COMMAND_EXT(24,SetStartStopTimes,(
DtAbsoluteTime startTime,
120 DT_FACTORY_COMMAND_EXT(26,SetSkippingPlaybackThreshold,(
double skippingPlaybackThreshold),
121 (const
DtCommand& command,
double& skippingPlaybackThreshold))
125 DT_FACTORY_COMMAND_EXT(27,RequestFileList,(
bool listDirs),
126 (const
DtCommand& command,
bool& listDirs))
130 DT_FACTORY_COMMAND_EXT(28,RecoverLastPacket,(),(
DtCommand& command))
133 DT_FACTORY_COMMAND_EXT(29,UpdateTapeDescription,(const
DtString& description),
137 DT_FACTORY_COMMAND_EXT(30,SetPacketViewInterval,(
double packetViewInterval),
138 (const
DtCommand& command,
double& packetViewInterval))
141 DT_FACTORY_COMMAND_EXT(31,SetSkippingPlaybackInteractions,(
bool skipPlaybackInteractions),
142 (const
DtCommand& command,
bool& skipPlaybackInteractions))
145 DT_FACTORY_COMMAND_EXT(32,SetFollowingInterval,(
double followingInterval),
146 (const
DtCommand& command,
double& followingInterval))
149 DT_FACTORY_COMMAND_EXT(33,SetFollowingExportInterval,(
double exportInterval),
150 (const
DtCommand& command,
double& exportInterval))
162 DT_FACTORY_RESPONSE_EXT(-2,FileClosed,
166 DT_FACTORY_RESPONSE_EXT(-3,FileDoesNotExist,
170 DT_FACTORY_RESPONSE_EXT(-4,FileIncomplete,
171 (const
DtString& filename,
bool isIncomplete,
bool hasLastPacket,
bool lastPacketRecovered),
172 (
DtResponse response,
DtString& filename,
bool& isIncomplete,
bool& hasLastPacket,
bool& lastPacketRecovered))
174 DT_FACTORY_RESPONSE_EXT(-5,FileInvalid,
178 DT_FACTORY_RESPONSE_EXT(-6,FileChanged,
182 DT_FACTORY_RESPONSE_EXT(-7,FileSaved,
186 DT_FACTORY_RESPONSE_EXT(-8, FileFormatCurrent,
187 (
bool current,
int version),
188 (
DtResponse response,
bool& current,
int& version))
190 DT_FACTORY_RESPONSE_EXT(-10,PlaybackChanged,
191 (
bool currentlyPlaying),
192 (
DtResponse response,
bool& currentlyPlaying))
196 DT_FACTORY_RESPONSE_EXT(-12,LoopAtEndChanged,
200 DT_FACTORY_RESPONSE_EXT(-13,PlayOnLoadChanged,
204 DT_FACTORY_RESPONSE_EXT(-20,PlaybackSpeedChanged,
208 DT_FACTORY_RESPONSE_EXT(-21,PausedChanged,
212 DT_FACTORY_RESPONSE_EXT(-22,SkippingPlaybackChanged,
213 (
bool skippingPlayback),
216 DT_FACTORY_RESPONSE_EXT(-23,SkippingPlaybackThresholdChanged,
217 (
double skippingPlaybackThreshold),
218 (
DtResponse response,
double& skippingPlaybackThreshold))
220 DT_FACTORY_RESPONSE_EXT(-24,JumpTimeChanged,
224 DT_FACTORY_RESPONSE_EXT(-25,FileList,
225 (
bool listIsDirs, const std::vector<
DtString>& loggerFiles),
228 DT_FACTORY_RESPONSE_EXT(-26,TapeDescriptionUpdated,
229 (const
DtString& tapeDescription, const
bool useDescription),
232 DT_FACTORY_RESPONSE_EXT(-27,PacketViewIntervalChanged,
233 (
double packetViewInterval),
234 (
DtResponse response,
double& packetViewInterval))
236 DT_FACTORY_RESPONSE_EXT(-28,SkippingPlaybackInteractionsChanged,
237 (
bool skippingPlaybackInteractions),
238 (
DtResponse response,
bool& skippingPlaybackInteractions))
240 DT_FACTORY_RESPONSE_EXT(-29,FileExpandingChanged,
244 DT_FACTORY_RESPONSE_EXT(-30,FollowingIntervalChanged,
245 (
double followingInterval),
246 (const
DtResponse response,
double& followingInterval))
248 DT_FACTORY_RESPONSE_EXT(-31,FollowingExportIntervalChanged,
249 (
double exportInterval),
250 (const
DtResponse response,
double& exportInterval))
256 static const
char* commandToString(
int commandId);
259 static const
char* responseToString(
int responseId);