15#include <cmrc/cmrc.hpp>
28#define LOG_THROTTLE_PERIOD 1.0
42 if (request ==
"help")
45 out.
addString(
"No RPC commands available");
94 auto fs = cmrc::frameTransformServerRC::get_filesystem();
96 cfg.unput(
"filexml_option");
104 cfg.unput(
"local_rpc");
109 cfg.put(
"FrameTransform_verbose_debug",
vval);
constexpr yarp::conf::vocab32_t VOCAB_ERR
A simple collection of objects that can be described and transmitted in a portable way.
void addVocab32(yarp::conf::vocab32_t x)
Places a vocabulary item in the bottle, at the end of the list.
bool read(ConnectionReader &reader) override
Set the bottle's value based on input from a network connection.
Value & get(size_type index) const
Reads a Value v from a certain part of the list.
void clear()
Empties the bottle of any objects it contains.
bool write(ConnectionWriter &writer) const override
Output a representation of the bottle to a network connection.
void addString(const char *str)
Places a string in the bottle, at the end of the list.
A mini-server for performing network communication in the background.
An interface for reading from a network connection.
An interface for writing to a network connection.
An abstraction for a periodic thread.
void askToStop()
Stop the thread.
void setReader(PortReader &reader) override
Set an external reader for port data.
void close() override
Stop port activity.
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
A class for storing options and configuration information.
Helper class for finding config files and other external resources.
A base class for nested structures that can be searched.
virtual std::string toString() const =0
Return a standard text representation of the content of the object.
A single value (typically within a Bottle).
virtual std::string asString() const
Get string value.
bool enterPhase(yarp::robotinterface::ActionPhase phase)
Result of the parsing of yarp::robotinterface::XMLReader.
bool parsingIsSuccessful
True if the parsing was successful, false otherwise.
Robot robot
If parsingIsSuccessful is true, contains a valid robot instance.
Class to read an XML file.
XMLReaderResult getRobotFromString(const std::string &filename, const yarp::os::Searchable &config=yarp::os::Property())
Parse the XML description of a robotinterface from a string.
#define yCError(component,...)
#define yCTrace(component,...)
#define yCWarning(component,...)
#define yCDebug(component,...)
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.