Public Member Functions |
| virtual | ~DtLgrPlaybackDriver () |
| virtual void | tick () |
| | Tick the driver, cause it to do anything on a regular basis.
|
| virtual bool | getPipeline () |
| | Attempt to acquire the pipeline.
|
| virtual bool | hasPipeline () const |
| | Does this object own the pipeline.
|
| virtual bool | releasePipeline () |
| | Attempt to release the pipeline.
|
| virtual void | setUnsavedFile (const DtString &filename, bool selectAll) |
| | Set the lgrPlayback driver to use an unsaved file (while still using the filename of the original.
|
| virtual void | openVirtualFile (const DtString &actualFileName, const DtString &desiredName, bool checkMediaFile=false) |
| | Open an actual file name, under a desired name.
|
| virtual void | configurePipeline () |
| | Configure pipeline for playback from file to simulation.
|
| virtual bool | isFileSaved () const |
| | Get whether the file is currently saved.
|
| virtual bool | isFileOpen () const |
| | Get whether a file is opened.
|
| virtual bool | isPlaying () const |
| | Get whether playback is started.
|
| virtual bool | isStopped () const |
| | Get whether playback is stopped.
|
| virtual bool | isPaused () const |
| | Get whether playback is paused.
|
| virtual bool | isFileIncomplete () const |
| | Get whether a file is opened but incomplete.
|
| virtual double | playbackSpeed () const |
| | Get the playback speed.
|
| virtual bool | skippingPlayback () const |
| | Get the skipping playback flag.
|
| virtual double | skippingPlaybackThreshold () const |
| | Get the skipping playback threshold.
|
| virtual bool | skippingPlaybackInteractions () const |
| | Get the skipping playback flag.
|
| virtual DtAbsoluteTime | currentTime () const |
| | Get the current time of playback.
|
| virtual DtAbsoluteTime | startTime () const |
| | Get the current start time of playback.
|
| virtual DtAbsoluteTime | stopTime () const |
| | Get the stop time of the loaded file.
|
| virtual DtAbsoluteTime | firstMessageTime () const |
| | Get the first time of the loaded file.
|
| virtual DtAbsoluteTime | lastTime () const |
| | Get the last time of the loaded file.
|
| virtual const DtString & | currentFilename () const |
| | Get the current name of the actual file being used.
|
| virtual const DtString & | savedFilename () const |
| | Get the name of the file which has been saved.
|
| virtual bool | loopAtEnd () const |
| | Get whether the logger will loop at the end of the tape.
|
| virtual bool | playOnLoad () const |
| | Get whether the file will play after it is loaded.
|
| virtual bool | fileFormatCurrent () const |
| | Get whether the current file format is the latest format.
|
| virtual int | fileVersion () const |
| | Get the version number for the current file format.
|
| virtual bool | backupOnSave () const |
| | Get whether to backup on save.
|
| virtual DtLgrEntityTracker * | entityTracker () const |
| | Get the current file's entity tracker, or null if there is none.
|
| virtual void | addTemporaryTrackedEntity (const DtString &name) |
| | Adds a temporary entity to the entity tracker.
|
| virtual double | packetViewInterval () const |
| | Get packetViewInterval.
|
| virtual double | followingInterval () const |
| | Get followingInterval.
|
| virtual double | followingExportInterval () const |
| | Get followingExportInterval.
|
| virtual const DtString & | streamPipeline () const |
| | Get the play media to stream pipelines.
|
| virtual const DtString & | windowPipeline () const |
| | Get the play media in window pipelines.
|
| virtual const DtString & | streamConfiguration () const |
| | Get the play media to stream pipeline configurations.
|
| virtual const DtString & | windowConfiguration () const |
| | Get the play media in window pipeline configurations.
|
| virtual double | mediaSpeedFactor () const |
| | Get the media playback speed factor.
|
| virtual DtRelativeTime | mediaOffset () const |
| | Get the media playback offset.
|
| virtual bool | mediaPlayInWindowByDefault () const |
| | Get if I play in a window by default.
|
| virtual bool | mediaPlayToStreamByDefault () const |
| | Get if I play in stream by default.
|
| virtual const DtString & | mediaPlayStreamHost () const |
| | Get the host to stream a video to.
|
| virtual int | mediaPlayStreamPort () const |
| | Get the port to stream a video to.
|
| virtual void | stopAllThreads () |
| | Stop all running threads.
|
| virtual void | stopThread (DtLgrCommandThread *commandThread) |
| | Stop a thread and deallocate it's resources.
|
Public Member Functions inherited from MAKLogger::DtLgrCommandHandler |
| | DtLgrCommandHandler (const DtString &name, DtRuntimeCommandFactory *, DtCommandDispatcherSP) |
| | Constructor which provides the name, the runtime factory, and the dispatcher which receives and transmits commands.
|
| virtual | ~DtLgrCommandHandler () |
| | DTOR.
|
| void | lock () |
| | Locks the Command Handler.
|
| void | unlock () |
| | Unlocks the Command Handler.
|
| DtCommandDispatcherSP | dispatcher () |
| | Get the dispatcher the command handler is connected to.
|
| virtual const DtString & | driverName () const |
| | Get the name of the driver.
|
| virtual const DtString & | driverInfo () |
| | Get the name of the driver.
|
| virtual void | processCommand (const DtCommand &command) |
| | Process a specific command.
|
| virtual bool | spawnThread (DtLgrCommandThread *commandThread) |
| | Spawn a new thread.
|
Protected Member Functions |
| bool | prepareDriverForOpen () |
| | Prepare driver for open file.
|
| virtual bool | doSwapInFile (const DtString &filename, bool selectAll) |
| | Implement swap in temp file to use as unsaved file.
|
| virtual bool | doPlay () |
| virtual bool | doStop () |
| virtual bool | doPause () |
| virtual bool | doUnpause () |
| virtual bool | doPlaybackSpeedChange (double speed) |
| virtual void | doTimeJump (const DtAbsoluteTime &time) |
| virtual void | doSkippingPlay (const DtAbsoluteTime &time) |
| virtual bool | doRecoverLastPacket () |
| virtual void | buildMediaPipelines (const DtString &filename) |
| | Build the media pipeline configurations for the given logger tape.
|
| virtual void | createMediaPipelineOperations (const DtString &filename) |
| | Create the media pipeline operations for the given logger tape.
|
| virtual bool | doOpenFile (DtString filename, bool checkMediaFile=false) |
| | Implementation of opening a file.
|
| virtual bool | doCloseFile (bool resetTimeStatus) |
| | Implementation of closing a file Do not reset time status if this close is a precursor to opening another file (doing so causes a race condition).
|
| void | sendFileInputChangedResponses (const DtString &filename) |
| | Send the necessary open file responses.
|
| virtual bool | writeDescriptionToFile (const DtString &filename, const DtString &description, const bool writeDesc) |
| | Write the previously set description into the file if the write flag is set to true.
|
| virtual bool | openFileInput (const DtString &filename, DtString &failureReason) |
| | Open the file input.
|
| virtual void | closeFileInput (bool clearHistory) |
| | Close the actual file history.
|
| virtual void | setFileHistoryCount (int count) |
| | Set the file history count.
|
| virtual void | addFileToHistory (const DtString &filename) |
| | Adds a file to the history, if necessary files are removed and deleted.
|
| virtual void | clearFileHistory () |
| | Clears the file history and deletes each file.
|
| virtual void | createWindowMediaPipelineOperation (const DtString &pipelinConfiguration, const DtString &tapeFilePath) |
| | Using the given pipeline configuration and logger tape file path, create the playback to window media pipeline operations.
|
| virtual void | createStreamMediaPipelineOperation (const DtString &pipelinConfiguration, const DtString &tapeFilePath) |
| | Using the given pipeline configuration and logger tape file path, create the playback to stream media pipeline operations.
|
| virtual void | startMediaThreads () |
| | Start the media pipeline operation threads.
|
| virtual void | stopMediaThreads () |
| | Stop the media pipeline operation threads.
|
|
| virtual void | tickStopPlayback () |
| | Various states of ticking playback.
|
| virtual void | tickNormalPlayback () |
| | Various states of ticking playback.
|
| virtual void | tickPausePlayback () |
| | Various states of ticking playback.
|
| virtual void | tickSkippingPlayback () |
| | Various states of ticking playback.
|
| virtual void | tickExtendedStopPlayback () |
| | Various states of ticking playback.
|
|
| DtResponse | openFile (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | closeFile (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | saveFile (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | saveFileAs (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | revertFile (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | play (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | playPause (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | stop (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | restart (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setStartStopTimes (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setPlaybackSpeed (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setCurrentTime (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | skipTime (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | pause (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | unpause (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setLoopAtEnd (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setPlayOnLoad (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setBackupOnSave (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setSkippingPlaybackThreshold (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setSkippingPlaybackInteractions (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setPacketViewInterval (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setFollowingInterval (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setFollowingExportInterval (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | requestFileList (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | recoverLastPacket (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | updateDescription (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setMediaPlaybackAdjustments (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setMediaWindowHandle (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setMediaPlayToStreamConfiguration (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setMediaPlayInWindowConfiguration (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setPlayToStreamPipeline (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setPlayInWindowPipeline (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setMediaPlayByDefault (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | setMediaPlayToStreamParameters (const DtCommand &command) |
| | Command Handler.
|
| DtResponse | exposePlaybackMedia (const DtCommand &command) |
| | Command Handler.
|
Protected Member Functions inherited from MAKLogger::DtLgrCommandHandler |
| void | addCommandHandler (const DtCommandDefinition &commandDef, DtCommandFunctorSP commandFunctor) |
| | Add a commandHandler, this should not be virtual as it is called in constructors.
|
| void | removeCommandHandler (const DtCommandDefinition &commandDef) |
| | Remove a commandHandler, this is typically not called but necessary for replacing a command handler.
|
| virtual void | sendResponse (DtResponse response) |
| | Send a response, for functions that have multiple responses make this call.
|
| virtual void | queueResponse (DtResponse response) |
| | Queue a response for future sending.
|
| virtual void | sendQueuedResponses () |
| | Sends all queued responses and clears the queue.
|
| virtual void | emptyResponseQueue () |
| | Empty the response queue (deleting any unsent responses).
|
| DtResponse | finishThread (const DtCommand &command) |
| | Finish the thread.
|
The class responsible for controlling the logger playback functionality.
The DtLgrPlaybackDriver is not thread safe. For thread- safe access use the DtLgrPlaybackInterface class.