This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Struct rc_ringbuf_t

Struct Documentation

struct rc_ringbuf_t

Struct containing state of a ringbuffer and pointer to dynamically allocated memory.

Public Members

double *d

pointer to dynamically allocated data

int size

number of elements the buffer can hold

int index

index of the most recently added value

int initialized

flag indicating if memory has been allocated for the buffer