Implementation for the PlaybackThread.
#include <PlaybackThread.hpp>
|
|
bool | open (yarp::os::Searchable &config) override |
| |
|
bool | close () override |
| |
| bool | play () override |
| |
| bool | pause () override |
| |
| bool | stopPlay () override |
| |
| bool | isPlaying () override |
| |
| bool | setTimeScale (double timeScale) override |
| |
| void | setIRunnable (roboticslab::IRunnable *iRunnable) override |
| |
|
void | run () override |
| |
|
void | onStop () override |
| |
| virtual | ~IPlaybackThread ()=default |
| |
|
bool | parseParams (const yarp::os::Searchable &config) override |
| |
|
std::string | getDeviceClassName () const override |
| |
|
std::string | getDeviceName () const override |
| |
|
std::string | getDocumentationOfDeviceParams () const override |
| |
|
std::vector< std::string > | getListOfParams () const override |
| |
|
| enum class | state { NOT_PLAYING
, PLAYING
} |
| |
|
using | row_t = std::vector< std::vector< double > > |
| |
|
|
const std::string | m_device_classname = {"PlaybackThread"} |
| |
|
const std::string | m_device_name = {"PlaybackThread"} |
| |
|
bool | m_parser_is_strict = false |
| |
|
const parser_version_type | m_parser_version = {} |
| |
|
const std::string | m_file_defaultValue = {"test.txt"} |
| |
|
const std::string | m_timeIdx_defaultValue = {"0"} |
| |
|
const std::string | m_timeScale_defaultValue = {"1.0"} |
| |
|
const std::string | m_mask_defaultValue = {""} |
| |
|
std::string | m_file = {"test.txt"} |
| |
|
int | m_timeIdx = {0} |
| |
|
double | m_timeScale = {1.0} |
| |
|
std::vector< int > | m_mask = {} |
| |
|
bool | fromFile (const std::string &fileName) |
| |
|
std::size_t | getNumRows () const |
| |
|
std::size_t | getCurrentRowIndex () const |
| |
|
bool | hasNextRow () const |
| |
|
const row_t::value_type & | getNextRow () |
| |
|
void | reset () |
| |
◆ isPlaying()
| bool PlaybackThread::isPlaying |
( |
| ) |
|
|
overridevirtual |
◆ pause()
| bool PlaybackThread::pause |
( |
| ) |
|
|
overridevirtual |
◆ play()
| bool PlaybackThread::play |
( |
| ) |
|
|
overridevirtual |
◆ setIRunnable()
◆ setTimeScale()
| bool PlaybackThread::setTimeScale |
( |
double |
timeScale | ) |
|
|
overridevirtual |
◆ stopPlay()
| bool PlaybackThread::stopPlay |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- libraries/YarpPlugins/PlaybackThread/PlaybackThread.hpp
- libraries/YarpPlugins/PlaybackThread/DeviceDriverImpl.cpp
- libraries/YarpPlugins/PlaybackThread/IPlaybackThreadImpl.cpp
- libraries/YarpPlugins/PlaybackThread/ThreadImpl.cpp