|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
69 #ifndef YARP_ROSMSG_visualization_msgs_MenuEntry_h
70 #define YARP_ROSMSG_visualization_msgs_MenuEntry_h
90 static const std::uint8_t
ROSRUN = 1;
258 static constexpr
const char*
typeName =
"visualization_msgs/MenuEntry";
261 static constexpr
const char*
typeChecksum =
"b90ec63024573de83b57aa93eb39be2d";
265 # MenuEntry message.\n\
267 # Each InteractiveMarker message has an array of MenuEntry messages.\n\
268 # A collection of MenuEntries together describe a\n\
269 # menu/submenu/subsubmenu/etc tree, though they are stored in a flat\n\
270 # array. The tree structure is represented by giving each menu entry\n\
271 # an ID number and a \"parent_id\" field. Top-level entries are the\n\
272 # ones with parent_id = 0. Menu entries are ordered within their\n\
273 # level the same way they are ordered in the containing array. Parent\n\
274 # entries must appear before their children.\n\
282 # title = \"robot\"\n\
288 # title = \"turtle\"\n\
290 # Gives a menu tree like this:\n\
296 # ID is a number for each menu entry. Must be unique within the\n\
297 # control, and should never be 0.\n\
300 # ID of the parent of this menu entry, if it is a submenu. If this\n\
301 # menu entry is a top-level entry, set parent_id to 0.\n\
304 # menu / entry title\n\
307 # Arguments to command indicated by command_type (below)\n\
310 # Command_type stores the type of response desired when this menu\n\
311 # entry is clicked.\n\
312 # FEEDBACK: send an InteractiveMarkerFeedback message with menu_entry_id set to this entry's id.\n\
313 # ROSRUN: execute \"rosrun\" with arguments given in the command field (above).\n\
314 # ROSLAUNCH: execute \"roslaunch\" with arguments given in the command field (above).\n\
318 uint8 command_type\n\
334 #endif // YARP_ROSMSG_visualization_msgs_MenuEntry_h
bool readString(std::string &str, bool *is_vocab=nullptr)
virtual bool read(yarp::os::idl::WireReader &reader)
virtual void appendInt8(std::int8_t data)=0
Send a representation of a 8-bit integer to the network connection.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
#define BOTTLE_TAG_STRING
virtual std::int8_t expectInt8()=0
Read a 8-bit integer from the network connection.
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
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
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.
std::int32_t expectInt32()
The main, catch-all namespace for YARP.
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 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