YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarpActionsPlayer_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_YARPACTIONSPLAYER_IDL_H
12#define YARP_THRIFT_GENERATOR_SERVICE_YARPACTIONSPLAYER_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 start();
41
46 virtual bool stop();
47
52 virtual bool reset();
53
59 virtual bool forever();
60
65 virtual bool print_frames();
66
71 virtual bool speed_factor(const double value);
72
77 virtual bool resample(const double value);
78
83 virtual bool choose_action(const std::string& action_name);
84
89 virtual bool play_action(const std::string& action_name);
90
95 virtual bool show_actions();
96
101 virtual bool set_thread_period(const double value);
102
107 virtual bool set_initial_move_time(const double value);
108
109 // help method
110 virtual std::vector<std::string> help(const std::string& functionName = "--all");
111
112 // read from ConnectionReader
113 bool read(yarp::os::ConnectionReader& connection) override;
114};
115
116#endif // YARP_THRIFT_GENERATOR_SERVICE_YARPACTIONSPLAYER_IDL_H
yarpActionsPlayer_IDL Interface.
virtual bool show_actions()
Prints all the loaded actions.
virtual bool choose_action(const std::string &action_name)
Choose the current action and wait for further commands.
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual bool play_action(const std::string &action_name)
Play an action one single time.
virtual bool set_initial_move_time(const double value)
Sets the uration for the initial homing movement (for advanced use only, default value: 2s).
virtual bool start()
Start (or resumes, if stopped) the currently selected action.
virtual bool forever()
Similar to play, but it will automatically restart the playback when the last frame is reached.
virtual bool print_frames()
Prints all the frames of the currently selected action.
virtual bool resample(const double value)
Resamples the currently selected action (in seconds, recommended value 0.010s).
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool speed_factor(const double value)
Sets the playback speed factor for the currently selected action (default value: 1....
virtual bool stop()
Stops the currently selected (running) action.
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion()
virtual bool reset()
Rewinds the currently selected action.
virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion()
virtual bool set_thread_period(const double value)
Sets the period of the sampling thread (for advanced use only, default value: 0.010s).
An interface for reading from a network connection.
Base class for IDL client/server.
Definition Wire.h:18