Robot Control Library
rc_ringbuf_t Struct Reference

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

#include <rc/math/ring_buffer.h>

Data Fields

double * d
 pointer to dynamically allocated data More...
 
int size
 number of elements the buffer can hold More...
 
int index
 index of the most recently added value More...
 
int initialized
 flag indicating if memory has been allocated for the buffer More...
 

Detailed Description

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

Field Documentation

◆ d

double* d

pointer to dynamically allocated data

◆ size

int size

number of elements the buffer can hold

◆ index

int index

index of the most recently added value

◆ initialized

int initialized

flag indicating if memory has been allocated for the buffer


The documentation for this struct was generated from the following file: