gusimplewhiteboard
|
#include <gu_util.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | wb_nao_sonar_protected_walk_command |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
Macros | |
#define | _XOPEN_SOURCE 700 |
#define | NAO_SONAR_PROTECTED_WALK_COMMAND_GENERATED |
#define | NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT wb_nao_sonar_protected_walk_command |
#define | NAO_SONAR_PROTECTED_WALK_COMMAND_NUMBER_OF_VARIABLES 15 |
#define | NAO_SONAR_PROTECTED_WALK_COMMAND_DESC_BUFFER_SIZE 254 |
#define | NAO_SONAR_PROTECTED_WALK_COMMAND_TO_STRING_BUFFER_SIZE 96 |
Functions | |
const char * | wb_nao_sonar_protected_walk_command_description (const struct wb_nao_sonar_protected_walk_command *self, char *descString, size_t bufferSize) |
Convert to a description string. More... | |
const char * | wb_nao_sonar_protected_walk_command_to_string (const struct wb_nao_sonar_protected_walk_command *self, char *toString, size_t bufferSize) |
Convert to a string. More... | |
struct wb_nao_sonar_protected_walk_command * | wb_nao_sonar_protected_walk_command_from_string (struct wb_nao_sonar_protected_walk_command *self, const char *str) |
Convert from a string. More... | |
size_t | wb_nao_sonar_protected_walk_command_to_network_serialised (const struct wb_nao_sonar_protected_walk_command *self, char *dst) |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
size_t | wb_nao_sonar_protected_walk_command_from_network_serialised (const char *src, struct wb_nao_sonar_protected_walk_command *dst) |
Network stream deserialisation. More... | |
#define _XOPEN_SOURCE 700 |
Definition at line 72 of file wb_nao_sonar_protected_walk_command.h.
#define NAO_SONAR_PROTECTED_WALK_COMMAND_C_STRUCT wb_nao_sonar_protected_walk_command |
Definition at line 89 of file wb_nao_sonar_protected_walk_command.h.
#define NAO_SONAR_PROTECTED_WALK_COMMAND_DESC_BUFFER_SIZE 254 |
Definition at line 93 of file wb_nao_sonar_protected_walk_command.h.
#define NAO_SONAR_PROTECTED_WALK_COMMAND_GENERATED |
Definition at line 88 of file wb_nao_sonar_protected_walk_command.h.
#define NAO_SONAR_PROTECTED_WALK_COMMAND_NUMBER_OF_VARIABLES 15 |
Definition at line 90 of file wb_nao_sonar_protected_walk_command.h.
#define NAO_SONAR_PROTECTED_WALK_COMMAND_TO_STRING_BUFFER_SIZE 96 |
Definition at line 94 of file wb_nao_sonar_protected_walk_command.h.
const char * wb_nao_sonar_protected_walk_command_description | ( | const struct wb_nao_sonar_protected_walk_command * | self, |
char * | descString, | ||
size_t | bufferSize | ||
) |
Convert to a description string.
Definition at line 125 of file wb_nao_sonar_protected_walk_command.c.
Referenced by guWhiteboard::NaoSonarProtectedWalkCommand::description().
size_t wb_nao_sonar_protected_walk_command_from_network_serialised | ( | const char * | src, |
struct wb_nao_sonar_protected_walk_command * | dst | ||
) |
Network stream deserialisation.
Network stream deserialisation.
Definition at line 754 of file wb_nao_sonar_protected_walk_command.c.
References wb_nao_sonar_protected_walk_command::bend, wb_nao_sonar_protected_walk_command::exactStepsRequested, wb_nao_sonar_protected_walk_command::forward, wb_nao_sonar_protected_walk_command::isFast, wb_nao_sonar_protected_walk_command::kickWithLeftFoot, wb_nao_sonar_protected_walk_command::left, wb_nao_sonar_protected_walk_command::leftArmLimp, ntohs, wb_nao_sonar_protected_walk_command::odometryResetCounter, wb_nao_sonar_protected_walk_command::power, wb_nao_sonar_protected_walk_command::priority, wb_nao_sonar_protected_walk_command::rightArmLimp, wb_nao_sonar_protected_walk_command::speed, wb_nao_sonar_protected_walk_command::turn, wb_nao_sonar_protected_walk_command::useShuffle, and wb_nao_sonar_protected_walk_command::walkEngineOn.
struct wb_nao_sonar_protected_walk_command * wb_nao_sonar_protected_walk_command_from_string | ( | struct wb_nao_sonar_protected_walk_command * | self, |
const char * | str | ||
) |
Convert from a string.
Definition at line 381 of file wb_nao_sonar_protected_walk_command.c.
References NAO_SONAR_PROTECTED_WALK_COMMAND_DESC_BUFFER_SIZE.
size_t wb_nao_sonar_protected_walk_command_to_network_serialised | ( | const struct wb_nao_sonar_protected_walk_command * | self, |
char * | dst | ||
) |
WHITEBOARD_POSTER_STRING_CONVERSION.
Network stream serialisation
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 575 of file wb_nao_sonar_protected_walk_command.c.
References htons.
const char * wb_nao_sonar_protected_walk_command_to_string | ( | const struct wb_nao_sonar_protected_walk_command * | self, |
char * | toString, | ||
size_t | bufferSize | ||
) |
Convert to a string.
Definition at line 253 of file wb_nao_sonar_protected_walk_command.c.
Referenced by guWhiteboard::NaoSonarProtectedWalkCommand::to_string().