gusimplewhiteboard
|
Go to the source code of this file.
Classes | |
struct | wb_nao_walk_status |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
Macros | |
#define | _XOPEN_SOURCE 700 |
#define | NAOWALKSTATUS_GENERATED |
#define | NAOWALKSTATUS_C_STRUCT wb_nao_walk_status |
#define | NAOWALKSTATUS_NUMBER_OF_VARIABLES 3 |
#define | NAOWALKSTATUS_DESC_BUFFER_SIZE 1078 |
#define | NAOWALKSTATUS_TO_STRING_BUFFER_SIZE 1032 |
Enumerations | |
enum | WalkEngineState { wes_Disconnected = 0 , wes_Walking , wes_StoppedReady , wes_StoppedStanding } |
Functions | |
const char * | wb_nao_walk_status_description (const struct wb_nao_walk_status *self, char *descString, size_t bufferSize) |
Convert to a description string. More... | |
const char * | wb_nao_walk_status_to_string (const struct wb_nao_walk_status *self, char *toString, size_t bufferSize) |
Convert to a string. More... | |
struct wb_nao_walk_status * | wb_nao_walk_status_from_string (struct wb_nao_walk_status *self, const char *str) |
Convert from a string. More... | |
size_t | wb_nao_walk_status_to_network_serialised (const struct wb_nao_walk_status *self, char *dst) |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
size_t | wb_nao_walk_status_from_network_serialised (const char *src, struct wb_nao_walk_status *dst) |
Network stream deserialisation. More... | |
#define _XOPEN_SOURCE 700 |
Definition at line 72 of file wb_nao_walk_status.h.
#define NAOWALKSTATUS_C_STRUCT wb_nao_walk_status |
Definition at line 98 of file wb_nao_walk_status.h.
#define NAOWALKSTATUS_DESC_BUFFER_SIZE 1078 |
Definition at line 102 of file wb_nao_walk_status.h.
#define NAOWALKSTATUS_GENERATED |
Definition at line 97 of file wb_nao_walk_status.h.
#define NAOWALKSTATUS_NUMBER_OF_VARIABLES 3 |
Definition at line 99 of file wb_nao_walk_status.h.
#define NAOWALKSTATUS_TO_STRING_BUFFER_SIZE 1032 |
Definition at line 103 of file wb_nao_walk_status.h.
enum WalkEngineState |
Definition at line 90 of file wb_nao_walk_status.h.
const char * wb_nao_walk_status_description | ( | const struct wb_nao_walk_status * | self, |
char * | descString, | ||
size_t | bufferSize | ||
) |
Convert to a description string.
Definition at line 125 of file wb_nao_walk_status.c.
References ODOMETRY_DESC_BUFFER_SIZE, wb_odometry_description(), wes_Disconnected, wes_StoppedReady, wes_StoppedStanding, and wes_Walking.
Referenced by guWhiteboard::NaoWalkStatus::description().
size_t wb_nao_walk_status_from_network_serialised | ( | const char * | src, |
struct wb_nao_walk_status * | dst | ||
) |
Network stream deserialisation.
Network stream deserialisation.
Definition at line 427 of file wb_nao_walk_status.c.
References ntohl, wb_nao_walk_status::odometryResetCounter, and wb_nao_walk_status::walkEngineState.
struct wb_nao_walk_status * wb_nao_walk_status_from_string | ( | struct wb_nao_walk_status * | self, |
const char * | str | ||
) |
Convert from a string.
Definition at line 253 of file wb_nao_walk_status.c.
References NAOWALKSTATUS_DESC_BUFFER_SIZE, wb_odometry_from_string(), wes_Disconnected, wes_StoppedReady, wes_StoppedStanding, and wes_Walking.
size_t wb_nao_walk_status_to_network_serialised | ( | const struct wb_nao_walk_status * | self, |
char * | dst | ||
) |
WHITEBOARD_POSTER_STRING_CONVERSION.
Network stream serialisation
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 388 of file wb_nao_walk_status.c.
References htonl.
const char * wb_nao_walk_status_to_string | ( | const struct wb_nao_walk_status * | self, |
char * | toString, | ||
size_t | bufferSize | ||
) |
Convert to a string.
Definition at line 189 of file wb_nao_walk_status.c.
References ODOMETRY_TO_STRING_BUFFER_SIZE, wb_odometry_to_string(), wes_Disconnected, wes_StoppedReady, wes_StoppedStanding, and wes_Walking.
Referenced by guWhiteboard::NaoWalkStatus::to_string().