gusimplewhiteboard
|
Go to the source code of this file.
Classes | |
struct | wb_top_particles |
The class of the top particles in a Localization Filter. More... | |
Macros | |
#define | _XOPEN_SOURCE 700 |
#define | TOPPARTICLES_GENERATED |
#define | TOPPARTICLES_C_STRUCT wb_top_particles |
#define | TOPPARTICLES_NUMBER_OF_VARIABLES 1 |
#define | TOPPARTICLES_DESC_BUFFER_SIZE 523 |
#define | TOPPARTICLES_TO_STRING_BUFFER_SIZE 513 |
#define | TOPPARTICLES_PARTICLES_ARRAY_SIZE 4 |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
Enumerations | |
enum | PF_ControlStatus_Modes { PF_Running =0 , PF_New_Game , PF_After_Penalized , PF_After_Fall , PF_Manual_Placement } |
commands to set the Grid Particle Filer Status More... | |
Functions | |
const char * | wb_top_particles_description (const struct wb_top_particles *self, char *descString, size_t bufferSize) |
Convert to a description string. More... | |
const char * | wb_top_particles_to_string (const struct wb_top_particles *self, char *toString, size_t bufferSize) |
Convert to a string. More... | |
struct wb_top_particles * | wb_top_particles_from_string (struct wb_top_particles *self, const char *str) |
Convert from a string. More... | |
size_t | wb_top_particles_to_network_serialised (const struct wb_top_particles *self, char *dst) |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
size_t | wb_top_particles_from_network_serialised (const char *src, struct wb_top_particles *dst) |
Network stream deserialisation. More... | |
#define _XOPEN_SOURCE 700 |
Definition at line 72 of file wb_top_particles.h.
#define TOPPARTICLES_C_STRUCT wb_top_particles |
Definition at line 104 of file wb_top_particles.h.
#define TOPPARTICLES_DESC_BUFFER_SIZE 523 |
Definition at line 108 of file wb_top_particles.h.
#define TOPPARTICLES_GENERATED |
Definition at line 103 of file wb_top_particles.h.
#define TOPPARTICLES_NUMBER_OF_VARIABLES 1 |
Definition at line 105 of file wb_top_particles.h.
#define TOPPARTICLES_PARTICLES_ARRAY_SIZE 4 |
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 112 of file wb_top_particles.h.
#define TOPPARTICLES_TO_STRING_BUFFER_SIZE 513 |
Definition at line 109 of file wb_top_particles.h.
commands to set the Grid Particle Filer Status
Definition at line 93 of file wb_top_particles.h.
const char * wb_top_particles_description | ( | const struct wb_top_particles * | self, |
char * | descString, | ||
size_t | bufferSize | ||
) |
Convert to a description string.
Definition at line 125 of file wb_top_particles.c.
References PARTICLE_POSITION_DESC_BUFFER_SIZE, TOPPARTICLES_PARTICLES_ARRAY_SIZE, and wb_particle_position_description().
Referenced by guWhiteboard::TopParticles::description().
size_t wb_top_particles_from_network_serialised | ( | const char * | src, |
struct wb_top_particles * | dst | ||
) |
Network stream deserialisation.
Network stream deserialisation.
Definition at line 394 of file wb_top_particles.c.
References wb_top_particles::particles.
struct wb_top_particles * wb_top_particles_from_string | ( | struct wb_top_particles * | self, |
const char * | str | ||
) |
Convert from a string.
Definition at line 205 of file wb_top_particles.c.
References TOPPARTICLES_DESC_BUFFER_SIZE, TOPPARTICLES_PARTICLES_ARRAY_SIZE, and wb_particle_position_from_string().
size_t wb_top_particles_to_network_serialised | ( | const struct wb_top_particles * | self, |
char * | dst | ||
) |
WHITEBOARD_POSTER_STRING_CONVERSION.
Network stream serialisation
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 362 of file wb_top_particles.c.
const char * wb_top_particles_to_string | ( | const struct wb_top_particles * | self, |
char * | toString, | ||
size_t | bufferSize | ||
) |
Convert to a string.
Definition at line 165 of file wb_top_particles.c.
References PARTICLE_POSITION_TO_STRING_BUFFER_SIZE, TOPPARTICLES_PARTICLES_ARRAY_SIZE, and wb_particle_position_to_string().
Referenced by guWhiteboard::TopParticles::to_string().