YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarprobotinterfaceRpc.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_YARPROBOTINTERFACERPC_H
12#define YARP_THRIFT_GENERATOR_SERVICE_YARPROBOTINTERFACERPC_H
13
14#include <yarp/os/Wire.h>
17
19 public yarp::os::Wire
20{
21public:
22 //ProtocolVersion
25 virtual bool checkProtocolVersion();
26
27 // Constructor
29
30 //Service methods
34 virtual std::string get_phase();
35
39 virtual std::int32_t get_level();
40
44 virtual std::string get_robot();
45
50 virtual bool is_ready();
51
55 virtual std::string quit();
56
60 virtual std::string bye();
61
65 virtual std::string exit();
66
67 // help method
68 virtual std::vector<std::string> help(const std::string& functionName = "--all");
69
70 // read from ConnectionReader
71 bool read(yarp::os::ConnectionReader& connection) override;
72};
73
74#endif // YARP_THRIFT_GENERATOR_SERVICE_YARPROBOTINTERFACERPC_H
An interface for reading from a network connection.
Base class for IDL client/server.
Definition Wire.h:18
virtual std::string quit()
Closes yarprobotinterface.
virtual std::string get_phase()
Returns current phase.
virtual std::string get_robot()
Returns robot name.
virtual std::string bye()
Closes yarprobotinterface.
virtual std::string exit()
Closes yarprobotinterface.
virtual std::int32_t get_level()
Returns current level.
virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion()
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion()
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool is_ready()
Returns true if yarprobotinterface is ready (all startup actions performed and no interrupt called).