|
gusimplewhiteboard
|
#include <gu_util.h>#include <stdint.h>Go to the source code of this file.
Classes | |
| struct | wb_filtered_vision_object |
| WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
Macros | |
| #define | _XOPEN_SOURCE 700 |
| #define | FILTERED_VISION_OBJECT_GENERATED |
| #define | FILTERED_VISION_OBJECT_C_STRUCT wb_filtered_vision_object |
| #define | FILTERED_VISION_OBJECT_NUMBER_OF_VARIABLES 9 |
| #define | FILTERED_VISION_OBJECT_DESC_BUFFER_SIZE 161 |
| #define | FILTERED_VISION_OBJECT_TO_STRING_BUFFER_SIZE 88 |
Functions | |
| const char * | wb_filtered_vision_object_description (const struct wb_filtered_vision_object *self, char *descString, size_t bufferSize) |
| Convert to a description string. More... | |
| const char * | wb_filtered_vision_object_to_string (const struct wb_filtered_vision_object *self, char *toString, size_t bufferSize) |
| Convert to a string. More... | |
| struct wb_filtered_vision_object * | wb_filtered_vision_object_from_string (struct wb_filtered_vision_object *self, const char *str) |
| Convert from a string. More... | |
| size_t | wb_filtered_vision_object_to_network_serialised (const struct wb_filtered_vision_object *self, char *dst) |
| WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
| size_t | wb_filtered_vision_object_from_network_serialised (const char *src, struct wb_filtered_vision_object *dst) |
| Network stream deserialisation. More... | |
| #define _XOPEN_SOURCE 700 |
Definition at line 72 of file wb_filtered_vision_object.h.
| #define FILTERED_VISION_OBJECT_C_STRUCT wb_filtered_vision_object |
Definition at line 89 of file wb_filtered_vision_object.h.
| #define FILTERED_VISION_OBJECT_DESC_BUFFER_SIZE 161 |
Definition at line 93 of file wb_filtered_vision_object.h.
| #define FILTERED_VISION_OBJECT_GENERATED |
Definition at line 88 of file wb_filtered_vision_object.h.
| #define FILTERED_VISION_OBJECT_NUMBER_OF_VARIABLES 9 |
Definition at line 90 of file wb_filtered_vision_object.h.
| #define FILTERED_VISION_OBJECT_TO_STRING_BUFFER_SIZE 88 |
Definition at line 94 of file wb_filtered_vision_object.h.
| const char * wb_filtered_vision_object_description | ( | const struct wb_filtered_vision_object * | self, |
| char * | descString, | ||
| size_t | bufferSize | ||
| ) |
Convert to a description string.
Definition at line 125 of file wb_filtered_vision_object.c.
Referenced by guWhiteboard::FilteredVisionObject::description(), wb_filtered_arrayballsightings_description(), and wb_filtered_arrayonedimobjects_description().
| size_t wb_filtered_vision_object_from_network_serialised | ( | const char * | src, |
| struct wb_filtered_vision_object * | dst | ||
| ) |
Network stream deserialisation.
Network stream deserialisation.
Definition at line 574 of file wb_filtered_vision_object.c.
References wb_filtered_vision_object::distance, wb_filtered_vision_object::frameCounter, wb_filtered_vision_object::isVisible, ntohl, ntohll, ntohs, wb_filtered_vision_object::pad1, wb_filtered_vision_object::ray_angle, wb_filtered_vision_object::visibilityHistory, wb_filtered_vision_object::x, wb_filtered_vision_object::y, and wb_filtered_vision_object::yaw.
| struct wb_filtered_vision_object * wb_filtered_vision_object_from_string | ( | struct wb_filtered_vision_object * | self, |
| const char * | str | ||
| ) |
Convert from a string.
Definition at line 293 of file wb_filtered_vision_object.c.
References FILTERED_VISION_OBJECT_DESC_BUFFER_SIZE.
Referenced by wb_filtered_arrayballsightings_from_string(), and wb_filtered_arrayonedimobjects_from_string().
| size_t wb_filtered_vision_object_to_network_serialised | ( | const struct wb_filtered_vision_object * | self, |
| char * | dst | ||
| ) |
WHITEBOARD_POSTER_STRING_CONVERSION.
Network stream serialisation
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 449 of file wb_filtered_vision_object.c.
| const char * wb_filtered_vision_object_to_string | ( | const struct wb_filtered_vision_object * | self, |
| char * | toString, | ||
| size_t | bufferSize | ||
| ) |
Convert to a string.
Definition at line 209 of file wb_filtered_vision_object.c.
Referenced by guWhiteboard::FilteredVisionObject::to_string(), wb_filtered_arrayballsightings_to_string(), and wb_filtered_arrayonedimobjects_to_string().