11#ifndef YARP_THRIFT_GENERATOR_SERVICE_YARPDATAPLAYER_CONSOLE_IDL_H
12#define YARP_THRIFT_GENERATOR_SERVICE_YARPDATAPLAYER_CONSOLE_IDL_H
48 virtual bool setFrame(
const std::int32_t frameNum);
56 virtual std::int32_t
getFrame(
const std::string& name);
62 virtual bool load(
const std::string& path);
87 virtual bool enable(
const std::string& part);
94 virtual bool disable(
const std::string& part);
107 virtual std::string
getPortName(
const std::string& part);
115 virtual bool setPortName(
const std::string& part,
const std::string& new_name);
122 virtual bool setSpeed(
const double speed);
135 virtual bool repeat(
const bool val =
false);
142 virtual bool setStrict(
const bool val =
false);
149 virtual bool forward(
const std::int32_t steps = 5);
156 virtual bool backward(
const std::int32_t steps = 5);
183 virtual std::vector<std::string>
help(
const std::string& functionName =
"--all");
An interface for reading from a network connection.
Base class for IDL client/server.
yarpdataplayer_console_IDL Interface.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion()
virtual bool pause()
Pauses the dataSets.
virtual bool quit()
Quit the module.
virtual bool load(const std::string &path)
Loads a dataset from a path.
virtual std::string getPortName(const std::string &part)
Gets the name of the port associated to the specified part.
virtual bool stop()
Stops the dataSets.
virtual double getSpeed()
Gets the player speed.
virtual std::string getStatus()
Get the status of playing.
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual bool step()
Steps the player once.
virtual bool repeat(const bool val=false)
Sets repeat mode.
yarpdataplayer_console_IDL()
virtual bool setPortName(const std::string &part, const std::string &new_name)
Sets the name of the port associated to the specified part.
virtual std::vector< std::string > getAllParts()
Gets the names of all parts loaded.
virtual bool checkProtocolVersion()
virtual bool setStrict(const bool val=false)
Sets strict mode.
virtual bool play()
Plays the dataSets.
virtual bool disable(const std::string &part)
Disable the specified part.
virtual bool enable(const std::string &part)
Enables the specified part.
virtual double getProgress()
Get the progress of the parts.
virtual bool resume()
Resume dataset from where it was paused.
virtual std::int32_t getFrame(const std::string &name)
Gets the frame number the user is requesting.
virtual bool setSpeed(const double speed)
Sets the player speed.
virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion()
virtual bool forward(const std::int32_t steps=5)
Steps forward.
virtual bool setFrame(const std::int32_t frameNum)
Sets the frame number to the user desired frame.
virtual bool backward(const std::int32_t steps=5)
Steps backward.