YARP
Yet Another Robot Platform
InteractiveMarkerInit.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 // This is an automatically generated file.
10 
11 // Generated from the following "visualization_msgs/InteractiveMarkerInit" msg definition:
12 // # Identifying string. Must be unique in the topic namespace
13 // # that this server works on.
14 // string server_id
15 //
16 // # Sequence number.
17 // # The client will use this to detect if it has missed a subsequent
18 // # update. Every update message will have the same sequence number as
19 // # an init message. Clients will likely want to unsubscribe from the
20 // # init topic after a successful initialization to avoid receiving
21 // # duplicate data.
22 // uint64 seq_num
23 //
24 // # All markers.
25 // InteractiveMarker[] markers
26 // Instances of this class can be read and written with YARP ports,
27 // using a ROS-compatible format.
28 
29 #ifndef YARP_ROSMSG_visualization_msgs_InteractiveMarkerInit_h
30 #define YARP_ROSMSG_visualization_msgs_InteractiveMarkerInit_h
31 
32 #include <yarp/os/Wire.h>
33 #include <yarp/os/Type.h>
34 #include <yarp/os/idl/WireTypes.h>
35 #include <string>
36 #include <vector>
38 
39 namespace yarp {
40 namespace rosmsg {
41 namespace visualization_msgs {
42 
44 {
45 public:
46  std::string server_id;
47  std::uint64_t seq_num;
48  std::vector<yarp::rosmsg::visualization_msgs::InteractiveMarker> markers;
49 
51  server_id(""),
52  seq_num(0),
53  markers()
54  {
55  }
56 
57  void clear()
58  {
59  // *** server_id ***
60  server_id = "";
61 
62  // *** seq_num ***
63  seq_num = 0;
64 
65  // *** markers ***
66  markers.clear();
67  }
68 
69  bool readBare(yarp::os::ConnectionReader& connection) override
70  {
71  // *** server_id ***
72  int len = connection.expectInt32();
73  server_id.resize(len);
74  if (!connection.expectBlock((char*)server_id.c_str(), len)) {
75  return false;
76  }
77 
78  // *** seq_num ***
79  seq_num = connection.expectInt64();
80 
81  // *** markers ***
82  len = connection.expectInt32();
83  markers.resize(len);
84  for (int i=0; i<len; i++) {
85  if (!markers[i].read(connection)) {
86  return false;
87  }
88  }
89 
90  return !connection.isError();
91  }
92 
93  bool readBottle(yarp::os::ConnectionReader& connection) override
94  {
95  connection.convertTextMode();
96  yarp::os::idl::WireReader reader(connection);
97  if (!reader.readListHeader(3)) {
98  return false;
99  }
100 
101  // *** server_id ***
102  if (!reader.readString(server_id)) {
103  return false;
104  }
105 
106  // *** seq_num ***
107  seq_num = reader.expectInt64();
108 
109  // *** markers ***
110  if (connection.expectInt32() != BOTTLE_TAG_LIST) {
111  return false;
112  }
113  int len = connection.expectInt32();
114  markers.resize(len);
115  for (int i=0; i<len; i++) {
116  if (!markers[i].read(connection)) {
117  return false;
118  }
119  }
120 
121  return !connection.isError();
122  }
123 
125  bool read(yarp::os::ConnectionReader& connection) override
126  {
127  return (connection.isBareMode() ? readBare(connection)
128  : readBottle(connection));
129  }
130 
131  bool writeBare(yarp::os::ConnectionWriter& connection) const override
132  {
133  // *** server_id ***
134  connection.appendInt32(server_id.length());
135  connection.appendExternalBlock((char*)server_id.c_str(), server_id.length());
136 
137  // *** seq_num ***
138  connection.appendInt64(seq_num);
139 
140  // *** markers ***
141  connection.appendInt32(markers.size());
142  for (size_t i=0; i<markers.size(); i++) {
143  if (!markers[i].write(connection)) {
144  return false;
145  }
146  }
147 
148  return !connection.isError();
149  }
150 
151  bool writeBottle(yarp::os::ConnectionWriter& connection) const override
152  {
153  connection.appendInt32(BOTTLE_TAG_LIST);
154  connection.appendInt32(3);
155 
156  // *** server_id ***
157  connection.appendInt32(BOTTLE_TAG_STRING);
158  connection.appendInt32(server_id.length());
159  connection.appendExternalBlock((char*)server_id.c_str(), server_id.length());
160 
161  // *** seq_num ***
162  connection.appendInt32(BOTTLE_TAG_INT64);
163  connection.appendInt64(seq_num);
164 
165  // *** markers ***
166  connection.appendInt32(BOTTLE_TAG_LIST);
167  connection.appendInt32(markers.size());
168  for (size_t i=0; i<markers.size(); i++) {
169  if (!markers[i].write(connection)) {
170  return false;
171  }
172  }
173 
174  connection.convertTextMode();
175  return !connection.isError();
176  }
177 
179  bool write(yarp::os::ConnectionWriter& connection) const override
180  {
181  return (connection.isBareMode() ? writeBare(connection)
182  : writeBottle(connection));
183  }
184 
185  // This class will serialize ROS style or YARP style depending on protocol.
186  // If you need to force a serialization style, use one of these classes:
189 
190  // The name for this message, ROS will need this
191  static constexpr const char* typeName = "visualization_msgs/InteractiveMarkerInit";
192 
193  // The checksum for this message, ROS will need this
194  static constexpr const char* typeChecksum = "d5f2c5045a72456d228676ab91048734";
195 
196  // The source text for this message, ROS will need this
197  static constexpr const char* typeText = "\
198 # Identifying string. Must be unique in the topic namespace\n\
199 # that this server works on.\n\
200 string server_id\n\
201 \n\
202 # Sequence number.\n\
203 # The client will use this to detect if it has missed a subsequent\n\
204 # update. Every update message will have the same sequence number as\n\
205 # an init message. Clients will likely want to unsubscribe from the\n\
206 # init topic after a successful initialization to avoid receiving\n\
207 # duplicate data.\n\
208 uint64 seq_num\n\
209 \n\
210 # All markers.\n\
211 InteractiveMarker[] markers\n\
212 \n\
213 ================================================================================\n\
214 MSG: visualization_msgs/InteractiveMarker\n\
215 # Time/frame info.\n\
216 # If header.time is set to 0, the marker will be retransformed into\n\
217 # its frame on each timestep. You will receive the pose feedback\n\
218 # in the same frame.\n\
219 # Otherwise, you might receive feedback in a different frame.\n\
220 # For rviz, this will be the current 'fixed frame' set by the user.\n\
221 Header header\n\
222 \n\
223 # Initial pose. Also, defines the pivot point for rotations.\n\
224 geometry_msgs/Pose pose\n\
225 \n\
226 # Identifying string. Must be globally unique in\n\
227 # the topic that this message is sent through.\n\
228 string name\n\
229 \n\
230 # Short description (< 40 characters).\n\
231 string description\n\
232 \n\
233 # Scale to be used for default controls (default=1).\n\
234 float32 scale\n\
235 \n\
236 # All menu and submenu entries associated with this marker.\n\
237 MenuEntry[] menu_entries\n\
238 \n\
239 # List of controls displayed for this marker.\n\
240 InteractiveMarkerControl[] controls\n\
241 \n\
242 ================================================================================\n\
243 MSG: std_msgs/Header\n\
244 # Standard metadata for higher-level stamped data types.\n\
245 # This is generally used to communicate timestamped data \n\
246 # in a particular coordinate frame.\n\
247 # \n\
248 # sequence ID: consecutively increasing ID \n\
249 uint32 seq\n\
250 #Two-integer timestamp that is expressed as:\n\
251 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
252 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
253 # time-handling sugar is provided by the client library\n\
254 time stamp\n\
255 #Frame this data is associated with\n\
256 # 0: no frame\n\
257 # 1: global frame\n\
258 string frame_id\n\
259 \n\
260 ================================================================================\n\
261 MSG: geometry_msgs/Pose\n\
262 # A representation of pose in free space, composed of position and orientation. \n\
263 Point position\n\
264 Quaternion orientation\n\
265 \n\
266 ================================================================================\n\
267 MSG: geometry_msgs/Point\n\
268 # This contains the position of a point in free space\n\
269 float64 x\n\
270 float64 y\n\
271 float64 z\n\
272 \n\
273 ================================================================================\n\
274 MSG: geometry_msgs/Quaternion\n\
275 # This represents an orientation in free space in quaternion form.\n\
276 \n\
277 float64 x\n\
278 float64 y\n\
279 float64 z\n\
280 float64 w\n\
281 \n\
282 ================================================================================\n\
283 MSG: visualization_msgs/MenuEntry\n\
284 # MenuEntry message.\n\
285 \n\
286 # Each InteractiveMarker message has an array of MenuEntry messages.\n\
287 # A collection of MenuEntries together describe a\n\
288 # menu/submenu/subsubmenu/etc tree, though they are stored in a flat\n\
289 # array. The tree structure is represented by giving each menu entry\n\
290 # an ID number and a \"parent_id\" field. Top-level entries are the\n\
291 # ones with parent_id = 0. Menu entries are ordered within their\n\
292 # level the same way they are ordered in the containing array. Parent\n\
293 # entries must appear before their children.\n\
294 \n\
295 # Example:\n\
296 # - id = 3\n\
297 # parent_id = 0\n\
298 # title = \"fun\"\n\
299 # - id = 2\n\
300 # parent_id = 0\n\
301 # title = \"robot\"\n\
302 # - id = 4\n\
303 # parent_id = 2\n\
304 # title = \"pr2\"\n\
305 # - id = 5\n\
306 # parent_id = 2\n\
307 # title = \"turtle\"\n\
308 #\n\
309 # Gives a menu tree like this:\n\
310 # - fun\n\
311 # - robot\n\
312 # - pr2\n\
313 # - turtle\n\
314 \n\
315 # ID is a number for each menu entry. Must be unique within the\n\
316 # control, and should never be 0.\n\
317 uint32 id\n\
318 \n\
319 # ID of the parent of this menu entry, if it is a submenu. If this\n\
320 # menu entry is a top-level entry, set parent_id to 0.\n\
321 uint32 parent_id\n\
322 \n\
323 # menu / entry title\n\
324 string title\n\
325 \n\
326 # Arguments to command indicated by command_type (below)\n\
327 string command\n\
328 \n\
329 # Command_type stores the type of response desired when this menu\n\
330 # entry is clicked.\n\
331 # FEEDBACK: send an InteractiveMarkerFeedback message with menu_entry_id set to this entry's id.\n\
332 # ROSRUN: execute \"rosrun\" with arguments given in the command field (above).\n\
333 # ROSLAUNCH: execute \"roslaunch\" with arguments given in the command field (above).\n\
334 uint8 FEEDBACK=0\n\
335 uint8 ROSRUN=1\n\
336 uint8 ROSLAUNCH=2\n\
337 uint8 command_type\n\
338 \n\
339 ================================================================================\n\
340 MSG: visualization_msgs/InteractiveMarkerControl\n\
341 # Represents a control that is to be displayed together with an interactive marker\n\
342 \n\
343 # Identifying string for this control.\n\
344 # You need to assign a unique value to this to receive feedback from the GUI\n\
345 # on what actions the user performs on this control (e.g. a button click).\n\
346 string name\n\
347 \n\
348 \n\
349 # Defines the local coordinate frame (relative to the pose of the parent\n\
350 # interactive marker) in which is being rotated and translated.\n\
351 # Default: Identity\n\
352 geometry_msgs/Quaternion orientation\n\
353 \n\
354 \n\
355 # Orientation mode: controls how orientation changes.\n\
356 # INHERIT: Follow orientation of interactive marker\n\
357 # FIXED: Keep orientation fixed at initial state\n\
358 # VIEW_FACING: Align y-z plane with screen (x: forward, y:left, z:up).\n\
359 uint8 INHERIT = 0 \n\
360 uint8 FIXED = 1\n\
361 uint8 VIEW_FACING = 2\n\
362 \n\
363 uint8 orientation_mode\n\
364 \n\
365 # Interaction mode for this control\n\
366 # \n\
367 # NONE: This control is only meant for visualization; no context menu.\n\
368 # MENU: Like NONE, but right-click menu is active.\n\
369 # BUTTON: Element can be left-clicked.\n\
370 # MOVE_AXIS: Translate along local x-axis.\n\
371 # MOVE_PLANE: Translate in local y-z plane.\n\
372 # ROTATE_AXIS: Rotate around local x-axis.\n\
373 # MOVE_ROTATE: Combines MOVE_PLANE and ROTATE_AXIS.\n\
374 uint8 NONE = 0 \n\
375 uint8 MENU = 1\n\
376 uint8 BUTTON = 2\n\
377 uint8 MOVE_AXIS = 3 \n\
378 uint8 MOVE_PLANE = 4\n\
379 uint8 ROTATE_AXIS = 5\n\
380 uint8 MOVE_ROTATE = 6\n\
381 # \"3D\" interaction modes work with the mouse+SHIFT+CTRL or with 3D cursors.\n\
382 # MOVE_3D: Translate freely in 3D space.\n\
383 # ROTATE_3D: Rotate freely in 3D space about the origin of parent frame.\n\
384 # MOVE_ROTATE_3D: Full 6-DOF freedom of translation and rotation about the cursor origin.\n\
385 uint8 MOVE_3D = 7\n\
386 uint8 ROTATE_3D = 8\n\
387 uint8 MOVE_ROTATE_3D = 9\n\
388 \n\
389 uint8 interaction_mode\n\
390 \n\
391 \n\
392 # If true, the contained markers will also be visible\n\
393 # when the gui is not in interactive mode.\n\
394 bool always_visible\n\
395 \n\
396 \n\
397 # Markers to be displayed as custom visual representation.\n\
398 # Leave this empty to use the default control handles.\n\
399 #\n\
400 # Note: \n\
401 # - The markers can be defined in an arbitrary coordinate frame,\n\
402 # but will be transformed into the local frame of the interactive marker.\n\
403 # - If the header of a marker is empty, its pose will be interpreted as \n\
404 # relative to the pose of the parent interactive marker.\n\
405 Marker[] markers\n\
406 \n\
407 \n\
408 # In VIEW_FACING mode, set this to true if you don't want the markers\n\
409 # to be aligned with the camera view point. The markers will show up\n\
410 # as in INHERIT mode.\n\
411 bool independent_marker_orientation\n\
412 \n\
413 \n\
414 # Short description (< 40 characters) of what this control does,\n\
415 # e.g. \"Move the robot\". \n\
416 # Default: A generic description based on the interaction mode\n\
417 string description\n\
418 \n\
419 ================================================================================\n\
420 MSG: visualization_msgs/Marker\n\
421 # See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz\n\
422 \n\
423 uint8 ARROW=0\n\
424 uint8 CUBE=1\n\
425 uint8 SPHERE=2\n\
426 uint8 CYLINDER=3\n\
427 uint8 LINE_STRIP=4\n\
428 uint8 LINE_LIST=5\n\
429 uint8 CUBE_LIST=6\n\
430 uint8 SPHERE_LIST=7\n\
431 uint8 POINTS=8\n\
432 uint8 TEXT_VIEW_FACING=9\n\
433 uint8 MESH_RESOURCE=10\n\
434 uint8 TRIANGLE_LIST=11\n\
435 \n\
436 uint8 ADD=0\n\
437 uint8 MODIFY=0\n\
438 uint8 DELETE=2\n\
439 uint8 DELETEALL=3\n\
440 \n\
441 Header header # header for time/frame information\n\
442 string ns # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n\
443 int32 id # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n\
444 int32 type # Type of object\n\
445 int32 action # 0 add/modify an object, 1 (deprecated), 2 deletes an object, 3 deletes all objects\n\
446 geometry_msgs/Pose pose # Pose of the object\n\
447 geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)\n\
448 std_msgs/ColorRGBA color # Color [0.0-1.0]\n\
449 duration lifetime # How long the object should last before being automatically deleted. 0 means forever\n\
450 bool frame_locked # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n\
451 \n\
452 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
453 geometry_msgs/Point[] points\n\
454 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
455 #number of colors must either be 0 or equal to the number of points\n\
456 #NOTE: alpha is not yet used\n\
457 std_msgs/ColorRGBA[] colors\n\
458 \n\
459 # NOTE: only used for text markers\n\
460 string text\n\
461 \n\
462 # NOTE: only used for MESH_RESOURCE markers\n\
463 string mesh_resource\n\
464 bool mesh_use_embedded_materials\n\
465 \n\
466 ================================================================================\n\
467 MSG: geometry_msgs/Vector3\n\
468 # This represents a vector in free space. \n\
469 # It is only meant to represent a direction. Therefore, it does not\n\
470 # make sense to apply a translation to it (e.g., when applying a \n\
471 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
472 # rotation). If you want your data to be translatable too, use the\n\
473 # geometry_msgs/Point message instead.\n\
474 \n\
475 float64 x\n\
476 float64 y\n\
477 float64 z\n\
478 ================================================================================\n\
479 MSG: std_msgs/ColorRGBA\n\
480 float32 r\n\
481 float32 g\n\
482 float32 b\n\
483 float32 a\n\
484 ";
485 
486  yarp::os::Type getType() const override
487  {
489  typ.addProperty("md5sum", yarp::os::Value(typeChecksum));
490  typ.addProperty("message_definition", yarp::os::Value(typeText));
491  return typ;
492  }
493 };
494 
495 } // namespace visualization_msgs
496 } // namespace rosmsg
497 } // namespace yarp
498 
499 #endif // YARP_ROSMSG_visualization_msgs_InteractiveMarkerInit_h
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::typeText
static constexpr const char * typeText
Definition: InteractiveMarkerInit.h:197
yarp::os::idl::WireReader::readString
bool readString(std::string &str, bool *is_vocab=nullptr)
Definition: WireReader.cpp:339
WireTypes.h
BOTTLE_TAG_LIST
#define BOTTLE_TAG_LIST
Definition: Bottle.h:30
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::InteractiveMarkerInit
InteractiveMarkerInit()
Definition: InteractiveMarkerInit.h:50
yarp::os::idl::BottleStyle
Definition: BottleStyle.h:22
yarp::os::Type
Definition: Type.h:24
yarp::os::idl::WirePortable::read
virtual bool read(yarp::os::idl::WireReader &reader)
Definition: WirePortable.cpp:14
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::server_id
std::string server_id
Definition: InteractiveMarkerInit.h:46
yarp::os::ConnectionReader::isBareMode
virtual bool isBareMode() const =0
Check if the connection is bare mode.
BOTTLE_TAG_STRING
#define BOTTLE_TAG_STRING
Definition: Bottle.h:28
Wire.h
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::bottleStyle
yarp::os::idl::BottleStyle< yarp::rosmsg::visualization_msgs::InteractiveMarkerInit > bottleStyle
Definition: InteractiveMarkerInit.h:188
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::typeName
static constexpr const char * typeName
Definition: InteractiveMarkerInit.h:191
yarp::os::idl::WireReader::expectInt64
std::int64_t expectInt64()
Definition: WireReader.h:106
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::rosStyle
yarp::os::idl::BareStyle< yarp::rosmsg::visualization_msgs::InteractiveMarkerInit > rosStyle
Definition: InteractiveMarkerInit.h:187
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::read
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
Definition: InteractiveMarkerInit.h:125
yarp::os::ConnectionWriter::isError
virtual bool isError() const =0
yarp::os::Type::byName
static Type byName(const char *name)
Definition: Type.cpp:174
yarp::os::ConnectionReader::expectInt32
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
yarp::os::ConnectionReader::expectInt64
virtual std::int64_t expectInt64()=0
Read a 64-bit integer from the network connection.
yarp::os::Type::addProperty
Type & addProperty(const char *key, const Value &val)
Definition: Type.cpp:137
Type.h
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::getType
yarp::os::Type getType() const override
Definition: InteractiveMarkerInit.h:486
yarp::os::ConnectionWriter
An interface for writing to a network connection.
Definition: ConnectionWriter.h:40
BOTTLE_TAG_INT64
#define BOTTLE_TAG_INT64
Definition: Bottle.h:24
yarp::os::ConnectionReader::isError
virtual bool isError() const =0
yarp::os::ConnectionReader::convertTextMode
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
InteractiveMarker.h
yarp::os::idl::WirePortable
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
Definition: WirePortable.h:26
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::writeBare
bool writeBare(yarp::os::ConnectionWriter &connection) const override
Definition: InteractiveMarkerInit.h:131
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::readBottle
bool readBottle(yarp::os::ConnectionReader &connection) override
Definition: InteractiveMarkerInit.h:93
yarp::os::ConnectionWriter::isBareMode
virtual bool isBareMode() const =0
Check if the connection is bare mode.
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::markers
std::vector< yarp::rosmsg::visualization_msgs::InteractiveMarker > markers
Definition: InteractiveMarkerInit.h:48
yarp::os::ConnectionWriter::convertTextMode
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
yarp::os::ConnectionWriter::appendInt32
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
yarp::os::idl::WireReader
IDL-friendly connection reader.
Definition: WireReader.h:33
yarp::os::ConnectionReader
An interface for reading from a network connection.
Definition: ConnectionReader.h:40
visualization_msgs
Definition: ImageMarker.h:22
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::typeChecksum
static constexpr const char * typeChecksum
Definition: InteractiveMarkerInit.h:194
yarp::os::idl::BareStyle
Definition: BareStyle.h:22
yarp::os::ConnectionWriter::appendInt64
virtual void appendInt64(std::int64_t data)=0
Send a representation of a 64-bit integer to the network connection.
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::seq_num
std::uint64_t seq_num
Definition: InteractiveMarkerInit.h:47
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::readBare
bool readBare(yarp::os::ConnectionReader &connection) override
Definition: InteractiveMarkerInit.h:69
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit
Definition: InteractiveMarkerInit.h:44
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::write
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
Definition: InteractiveMarkerInit.h:179
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::clear
void clear()
Definition: InteractiveMarkerInit.h:57
yarp::os::ConnectionWriter::appendExternalBlock
virtual void appendExternalBlock(const char *data, size_t len)=0
Send a block of data to the network connection, without making a copy.
yarp::os::ConnectionReader::expectBlock
virtual bool expectBlock(char *data, size_t len)=0
Read a block of data from the network connection.
yarp::os::Value
A single value (typically within a Bottle).
Definition: Value.h:47
yarp::rosmsg::visualization_msgs::InteractiveMarkerInit::writeBottle
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
Definition: InteractiveMarkerInit.h:151
yarp::os::idl::WireReader::readListHeader
bool readListHeader()
Definition: WireReader.cpp:470
yarp::os::idl::WirePortable::write
virtual bool write(const yarp::os::idl::WireWriter &writer) const
Definition: WirePortable.cpp:20