YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarpdataplayer_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 Compiler (0.14.1-yarped)
7//
8// This is an automatically generated file.
9// It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
10
11#ifndef YARP_THRIFT_GENERATOR_SERVICE_YARPDATAPLAYER_IDL_H
12#define YARP_THRIFT_GENERATOR_SERVICE_YARPDATAPLAYER_IDL_H
13
14#include <yarp/os/Wire.h>
17
23 public yarp::os::Wire
24{
25public:
26 //ProtocolVersion
29 virtual bool checkProtocolVersion();
30
31 // Constructor
33
34 //Service methods
40 virtual bool step();
41
48 virtual bool setFrame(const std::int32_t frameNum);
49
56 virtual std::int32_t getFrame(const std::string& name);
57
62 virtual bool load(const std::string& path);
63
68 virtual std::int32_t getSliderPercentage();
69
74 virtual std::string getStatus();
75
80 virtual bool play();
81
86 virtual bool pause();
87
92 virtual bool stop();
93
98 virtual bool quit();
99
100 // help method
101 virtual std::vector<std::string> help(const std::string& functionName = "--all");
102
103 // read from ConnectionReader
104 bool read(yarp::os::ConnectionReader& connection) override;
105};
106
107#endif // YARP_THRIFT_GENERATOR_SERVICE_YARPDATAPLAYER_IDL_H
An interface for reading from a network connection.
Base class for IDL client/server.
Definition Wire.h:18
yarpdataplayer_IDL Interface.
virtual bool play()
Plays the dataSets.
virtual bool quit()
Quit the module.
virtual bool setFrame(const std::int32_t frameNum)
Sets the frame number to the user desired frame.
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion()
virtual bool step()
Steps the player once.
virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion()
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual bool load(const std::string &path)
Loads a dataset from a path.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual std::int32_t getFrame(const std::string &name)
Gets the frame number the user is requesting.
virtual bool checkProtocolVersion()
virtual bool pause()
Pauses the dataSets.
virtual bool stop()
Stops the dataSets.
virtual std::string getStatus()
Get the status of playing.
virtual std::int32_t getSliderPercentage()
Get slider percentage.