|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
42 #ifndef YARP_ROSMSG_diagnostic_msgs_AddDiagnostics_h
43 #define YARP_ROSMSG_diagnostic_msgs_AddDiagnostics_h
142 static constexpr
const char*
typeName =
"diagnostic_msgs/AddDiagnostics";
145 static constexpr
const char*
typeChecksum =
"c26cf6e164288fbc6050d74f838bcdf0";
149 # This service is used as part of the process for loading analyzers at runtime,\n\
150 # and should be used by a loader script or program, not as a standalone service.\n\
151 # Information about dynamic addition of analyzers can be found at\n\
152 # http://wiki.ros.org/diagnostics/Tutorials/Adding%20Analyzers%20at%20Runtime\n\
154 # The load_namespace parameter defines the namespace where parameters for the\n\
155 # initialization of analyzers in the diagnostic aggregator have been loaded. The\n\
156 # value should be a global name (i.e. /my/name/space), not a relative\n\
157 # (my/name/space) or private (~my/name/space) name. Analyzers will not be added\n\
158 # if a non-global name is used. The call will also fail if the namespace\n\
159 # contains parameters that follow a namespace structure that does not conform to\n\
160 # that expected by the analyzer definitions. See\n\
161 # http://wiki.ros.org/diagnostics/Tutorials/Configuring%20Diagnostic%20Aggregators\n\
162 # and http://wiki.ros.org/diagnostics/Tutorials/Using%20the%20GenericAnalyzer\n\
163 # for examples of the structure of yaml files which are expected to have been\n\
164 # loaded into the namespace.\n\
165 string load_namespace\n\
168 # True if diagnostic aggregator was updated with new diagnostics, False\n\
169 # otherwise. A false return value means that either there is a bond in the\n\
170 # aggregator which already used the requested namespace, or the initialization\n\
171 # of analyzers failed.\n\
174 # Message with additional information about the success or failure\n\
191 #endif // YARP_ROSMSG_diagnostic_msgs_AddDiagnostics_h
bool readString(std::string &str, bool *is_vocab=nullptr)
bool readBottle(yarp::os::ConnectionReader &connection) override
yarp::os::idl::BareStyle< yarp::rosmsg::diagnostic_msgs::AddDiagnostics > rosStyle
virtual bool read(yarp::os::idl::WireReader &reader)
static constexpr const char * typeText
virtual bool isBareMode() const =0
Check if the connection is bare mode.
#define BOTTLE_TAG_STRING
static constexpr const char * typeName
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
yarp::os::idl::BottleStyle< yarp::rosmsg::diagnostic_msgs::AddDiagnostics > bottleStyle
virtual bool isError() const =0
static Type byName(const char *name)
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
Type & addProperty(const char *key, const Value &val)
An interface for writing to a network connection.
virtual bool isError() const =0
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * typeChecksum
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
bool readBare(yarp::os::ConnectionReader &connection) override
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
IDL-friendly connection reader.
An interface for reading from a network connection.
yarp::os::Type getType() const override
The main, catch-all namespace for YARP.
std::string load_namespace
bool writeBare(yarp::os::ConnectionWriter &connection) const override
virtual void appendExternalBlock(const char *data, size_t len)=0
Send a block of data to the network connection, without making a copy.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool expectBlock(char *data, size_t len)=0
Read a block of data from the network connection.
A single value (typically within a Bottle).
virtual bool write(const yarp::os::idl::WireWriter &writer) const