gusimplewhiteboard
wb_machine_filtered_lines.h File Reference
#include <gu_util.h>
#include <stdint.h>
#include "wb_line_sighting.h"
Include dependency graph for wb_machine_filtered_lines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wb_machine_filtered_lines
 Results of the KalmanFilter machines for lines. More...
 

Macros

#define _XOPEN_SOURCE   700
 
#define MACHINE_FILTERED_LINES_GENERATED
 
#define MACHINE_FILTERED_LINES_C_STRUCT   wb_machine_filtered_lines
 
#define MACHINE_FILTERED_LINES_NUMBER_OF_VARIABLES   2
 
#define MACHINE_FILTERED_LINES_DESC_BUFFER_SIZE   546
 
#define MACHINE_FILTERED_LINES_TO_STRING_BUFFER_SIZE   518
 
#define MACHINE_FILTERED_LINES_SIGHTINGS_ARRAY_SIZE   8
 WHITEBOARD_POSTER_STRING_CONVERSION. More...
 

Functions

const char * wb_machine_filtered_lines_description (const struct wb_machine_filtered_lines *self, char *descString, size_t bufferSize)
 Convert to a description string. More...
 
const char * wb_machine_filtered_lines_to_string (const struct wb_machine_filtered_lines *self, char *toString, size_t bufferSize)
 Convert to a string. More...
 
struct wb_machine_filtered_lineswb_machine_filtered_lines_from_string (struct wb_machine_filtered_lines *self, const char *str)
 Convert from a string. More...
 
size_t wb_machine_filtered_lines_to_network_serialised (const struct wb_machine_filtered_lines *self, char *dst)
 WHITEBOARD_POSTER_STRING_CONVERSION. More...
 
size_t wb_machine_filtered_lines_from_network_serialised (const char *src, struct wb_machine_filtered_lines *dst)
 Network stream deserialisation. More...
 

Macro Definition Documentation

◆ _XOPEN_SOURCE

#define _XOPEN_SOURCE   700

Definition at line 72 of file wb_machine_filtered_lines.h.

◆ MACHINE_FILTERED_LINES_C_STRUCT

#define MACHINE_FILTERED_LINES_C_STRUCT   wb_machine_filtered_lines

Definition at line 91 of file wb_machine_filtered_lines.h.

◆ MACHINE_FILTERED_LINES_DESC_BUFFER_SIZE

#define MACHINE_FILTERED_LINES_DESC_BUFFER_SIZE   546

Definition at line 95 of file wb_machine_filtered_lines.h.

◆ MACHINE_FILTERED_LINES_GENERATED

#define MACHINE_FILTERED_LINES_GENERATED

Definition at line 90 of file wb_machine_filtered_lines.h.

◆ MACHINE_FILTERED_LINES_NUMBER_OF_VARIABLES

#define MACHINE_FILTERED_LINES_NUMBER_OF_VARIABLES   2

Definition at line 92 of file wb_machine_filtered_lines.h.

◆ MACHINE_FILTERED_LINES_SIGHTINGS_ARRAY_SIZE

#define MACHINE_FILTERED_LINES_SIGHTINGS_ARRAY_SIZE   8

WHITEBOARD_POSTER_STRING_CONVERSION.

Definition at line 99 of file wb_machine_filtered_lines.h.

◆ MACHINE_FILTERED_LINES_TO_STRING_BUFFER_SIZE

#define MACHINE_FILTERED_LINES_TO_STRING_BUFFER_SIZE   518

Definition at line 96 of file wb_machine_filtered_lines.h.

Function Documentation

◆ wb_machine_filtered_lines_description()

const char * wb_machine_filtered_lines_description ( const struct wb_machine_filtered_lines self,
char *  descString,
size_t  bufferSize 
)

◆ wb_machine_filtered_lines_from_network_serialised()

size_t wb_machine_filtered_lines_from_network_serialised ( const char *  src,
struct wb_machine_filtered_lines dst 
)

Network stream deserialisation.

Network stream deserialisation.

Definition at line 431 of file wb_machine_filtered_lines.c.

References wb_machine_filtered_lines::numberOfSightings, and wb_machine_filtered_lines::sightings.

◆ wb_machine_filtered_lines_from_string()

struct wb_machine_filtered_lines * wb_machine_filtered_lines_from_string ( struct wb_machine_filtered_lines self,
const char *  str 
)

◆ wb_machine_filtered_lines_to_network_serialised()

size_t wb_machine_filtered_lines_to_network_serialised ( const struct wb_machine_filtered_lines self,
char *  dst 
)

WHITEBOARD_POSTER_STRING_CONVERSION.

Network stream serialisation

WHITEBOARD_POSTER_STRING_CONVERSION.

Definition at line 385 of file wb_machine_filtered_lines.c.

◆ wb_machine_filtered_lines_to_string()

const char * wb_machine_filtered_lines_to_string ( const struct wb_machine_filtered_lines self,
char *  toString,
size_t  bufferSize 
)