3#ifndef __PLAYBACK_THREAD_HPP__
4#define __PLAYBACK_THREAD_HPP__
8#include <yarp/os/Thread.h>
9#include <yarp/dev/DeviceDriver.h>
11#include "Playback.hpp"
12#include "IPlaybackThread.h"
13#include "PlaybackThread_ParamsParser.h"
27 public yarp::os::Thread,
33 bool open(yarp::os::Searchable & config)
override;
34 bool close()
override;
38 bool pause()
override;
39 bool stopPlay()
override;
40 bool isPlaying()
override;
41 bool setTimeScale(
double timeScale)
override;
46 void onStop()
override;
49 enum class state { NOT_PLAYING, PLAYING };
52 std::atomic<state> _state {state::NOT_PLAYING};
Definition PlaybackThread_ParamsParser.h:45
Implementation for the PlaybackThread.
Definition PlaybackThread.hpp:30
Abstract base for PlaybackThread.
Definition IPlaybackThread.h:19
Abstract base for Runnable.
Definition IRunnable.h:15
Implementation for Playback.
Definition Playback.hpp:23