YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarpdataplayer_console_IDL.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6// Autogenerated by Thrift (based on compiler 0.14.1-yarped)
7// yarpidl_thrift version 2.0 - 11/11/2026
8// Protocol version: protocol_version=0, yarp_major=4, yarp_minor=0, yarp_patch=2
9// This is an automatically generated file.
10// It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
11
12#ifndef YARP_THRIFT_GENERATOR_SERVICE_YARPDATAPLAYER_CONSOLE_IDL_H
13#define YARP_THRIFT_GENERATOR_SERVICE_YARPDATAPLAYER_CONSOLE_IDL_H
14
15#include <yarp/os/Wire.h>
18
24 public yarp::os::Wire
25{
26public:
27 //ProtocolVersion
30 virtual bool checkProtocolVersion();
31
32 // Constructor
34
35 //Service methods
41 virtual bool step();
42
49 virtual bool setFrame(const std::int32_t frameNum);
50
57 virtual std::int32_t getFrame(const std::string& name);
58
63 virtual bool load(const std::string& path);
64
69 virtual bool play();
70
75 virtual bool pause();
76
81 virtual bool stop();
82
88 virtual bool enable(const std::string& part);
89
95 virtual bool disable(const std::string& part);
96
101 virtual std::vector<std::string> getAllParts();
102
108 virtual std::string getPortName(const std::string& part);
109
116 virtual bool setPortName(const std::string& part, const std::string& new_name);
117
123 virtual bool setSpeed(const double speed);
124
129 virtual double getSpeed();
130
136 virtual bool repeat(const bool val = false);
137
143 virtual bool setStrict(const bool val = false);
144
150 virtual bool forward(const std::int32_t steps = 5);
151
157 virtual bool backward(const std::int32_t steps = 5);
158
163 virtual double getProgress();
164
169 virtual std::string getStatus();
170
175 virtual bool resume();
176
181 virtual bool quit();
182
183 // help method
184 virtual std::vector<std::string> help(const std::string& functionName = "--all");
185
186 // read from ConnectionReader
187 bool read(yarp::os::ConnectionReader& connection) override;
188};
189
190#endif // YARP_THRIFT_GENERATOR_SERVICE_YARPDATAPLAYER_CONSOLE_IDL_H
An interface for reading from a network connection.
Base class for IDL client/server.
Definition Wire.h:18
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.
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 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.