MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
playbackInterfacePrinter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2024 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 
13 class DtString;
15 
18 {
19 public:
20 
23 
26 
27 private:
32 
33 public:
34 
35 
37 
38 
40  virtual MAKLogger::DtSequenceNumber setPlaybackSpeed(double speed, bool skipping,
41  const DtEntityIdentifier& destination=MAKLogger::DtRemoteControlInterface::wildcardAddress());
42 
44 
45 
46 public:
47 
49 
50 protected:
51 
53 
54 
55  virtual void fileOpened(const DtString& fileName, const MAKLogger::DtAbsoluteTime& firstTime, const MAKLogger::DtAbsoluteTime& lastTime);
56  virtual void fileClosed();
57  virtual void fileDoesNotExist(const DtEntityIdentifier& source, const DtString& fileName);
58  virtual void fileIncomplete(const DtEntityIdentifier& source, const DtString& fileName,
59  bool isIncomplete, bool hasLastPacket, bool lastPacketRecovered);
60  virtual void fileInvalid(const DtEntityIdentifier& source, const DtString& fileName, const DtString& reason);
61  virtual void fileChanged();
62  virtual void fileSaved();
63  virtual void fileFormatCurrent(bool current);
64  virtual void playbackChanged(bool currentlyPlaying);
65  virtual void restarted();
66  virtual void loopAtEndChanged(bool enabled);
67  virtual void playOnLoadChanged(bool play);
68  virtual void playbackSpeedChanged(double speed);
69  virtual void pausedChanged(bool paused);
71  virtual void firstLastTimesChanged(const MAKLogger::DtAbsoluteTime& firstTime, const MAKLogger::DtAbsoluteTime& lastTime);
72  virtual void jumpTimeChanged(const MAKLogger::DtAbsoluteTime& jumpTime);
74 
75 
76 protected:
77 
80  DtEntityIdentifier mySpeedRequestDestination;
83 
84 
85 };
virtual void jumpTimeChanged(const MAKLogger::DtAbsoluteTime &jumpTime)
The specified file was opened by the logger with the specified source ID.
virtual void fileSaved()
The specified file was saved for all connected loggers Called after all connected loggers have respon...
virtual const DtAbsoluteTime & firstTime() const
Set/Get first time.
DtEntityIdentifier mySpeedRequestDestination
Definition: playbackInterfacePrinter.h:80
DtPlaybackInterfacePrinter & operator=(const DtPlaybackInterfacePrinter &)
Not Implemented.
bool myTransitioningSkip
Definition: playbackInterfacePrinter.h:81
virtual void fileOpened(const DtString &fileName, const MAKLogger::DtAbsoluteTime &firstTime, const MAKLogger::DtAbsoluteTime &lastTime)
The specified file was opened by all connected loggers Called after all connected loggers have respon...
virtual MAKLogger::DtSequenceNumber setPlaybackSpeed(double speed, bool skipping, const DtEntityIdentifier &destination=MAKLogger::DtRemoteControlInterface::wildcardAddress())
Set playback speed.
virtual void playbackChanged(bool currentlyPlaying)
The playback status has changed for all connected loggers Called after all connected loggers have res...
virtual ~DtPlaybackInterfacePrinter()
Destructor.
Primary interface to remote loggers.
Definition: remoteControlInterface.h:73
virtual void fileIncomplete(const DtEntityIdentifier &source, const DtString &fileName, bool isIncomplete, bool hasLastPacket, bool lastPacketRecovered)
The specified file is incomplete for the logger with the specified source ID This response short circ...
virtual void fileChanged()
The specified file has changed for all connected loggers Called after all connected loggers have resp...
virtual void firstLastTimesChanged(const MAKLogger::DtAbsoluteTime &firstTime, const MAKLogger::DtAbsoluteTime &lastTime)
The first/last times have changed for all connected loggers Called after all connected loggers have r...
virtual const DtAbsoluteTime & lastTime() const
Set/Get last time.
DtU32 DtSequenceNumber
Definition: remoteControlInterface.h:48
virtual void playbackSpeedChanged(double speed)
The playback speed has changed for all connected loggers Called after all connected loggers have resp...
virtual const DtAbsoluteTime & stopTime() const
Set/Get stop time.
virtual void fileInvalid(const DtEntityIdentifier &source, const DtString &fileName, const DtString &reason)
The specified file is invalid for the logger with the specified source ID This response short circuit...
virtual const DtFilename & fileName() const
Set/Get playback file name.
Contains MAKLogger::DtRemoteControlPlaybackInterface for handling playback remote control messages...
static const DtEntityIdentifier & wildcardAddress()
The wildcard address.
virtual void loopAtEndChanged(bool enabled)
The loop at end flag has changed for all connected loggers Called after all connected loggers have re...
static MAKLogger::DtRemoteControlPlaybackInterface * create(MAKLogger::DtRemoteControlInterface *rci)
DtPlaybackInterfacePrinter(MAKLogger::DtRemoteControlInterface *rci)
Constructor.
virtual void restarted()
The playback was restarted for all connected loggers Called after all connected loggers have responde...
Prints message for received playback responses.
Definition: playbackInterfacePrinter.h:17
virtual void fileDoesNotExist(const DtEntityIdentifier &source, const DtString &fileName)
The specified file does not exist for the logger with the specified source ID This response short cir...
virtual void playOnLoadChanged(bool play)
The play on load has changed for all connected loggers Called after all connected loggers have respon...
virtual void fileClosed()
The playback file was closed by all connected loggers.
bool myPlayAfterTransitionSkip
Definition: playbackInterfacePrinter.h:82
bool mySkipEnabled
Definition: playbackInterfacePrinter.h:78
virtual void fileFormatCurrent(bool current)
The file format is current for all connected loggers Called after all connected loggers have responde...
virtual const DtAbsoluteTime & startTime() const
Set/Get start time.
virtual void pausedChanged(bool paused)
The paused state has changed for all connected loggers Called after all connected loggers have respon...
virtual DtSequenceNumber play(const DtEntityIdentifier &destination=DtRemoteControlInterface::wildcardAddress())
Play file Command guard: isFileOpened() && (!isPlaying() || isPaused())
Responsible for invoking playback commands and processing playback responses.
Definition: remoteControlPlaybackInterface.h:29
virtual void startStopTimesChanged(const MAKLogger::DtAbsoluteTime &startTime, const MAKLogger::DtAbsoluteTime &stopTime)
The start/stop times have changed for all connected loggers Called after all connected loggers have r...
Absolute Time, a particular measured instance in time, could be thought of as a set of relative times...
Definition: absoluteTime.h:82
double mySpeedRequest
Definition: playbackInterfacePrinter.h:79

Document ID: Generated on Thu Oct 3 15:35:11 EDT 2024 from SVN revision 270037
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)