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