Robotran C Documentation
Public Attributes | List of all members
MbsGrowingBuffer Struct Reference

buffer used to store the user variables to output More...

#include <mbs_buffer.h>

Public Attributes

double * t
 the array in which the time value corresponding to each value of the array are stored More...
 
double ** X
 the tabular (2 dimensions) in which the values are stored More...
 
char ** names
 the names of the user variables to save More...
 
int index
 indicate the index to which next values must be written More...
 
int size
 the size of the buffer (i.e. the number of different value of the array that can be stored) More...
 
int nx
 the current size of the array that is tracked by this buffer More...
 
int max_nx
 maximal size for nx More...
 
char * respath
 path for the results More...
 

Detailed Description

buffer used to store the user variables to output

Compared to 'MbsBuffer', this structure is designed to be extended with new user buffer columns. So, its size is not know at the beginning and is growing each time a new (i.e. new label) user variable is discovered. This structure is used with the 'AutoOutput' structure.

Member Data Documentation

◆ index

int index

indicate the index to which next values must be written

◆ max_nx

int max_nx

maximal size for nx

◆ names

char** names

the names of the user variables to save

◆ nx

int nx

the current size of the array that is tracked by this buffer

◆ respath

char* respath

path for the results

◆ size

int size

the size of the buffer (i.e. the number of different value of the array that can be stored)

◆ t

double* t

the array in which the time value corresponding to each value of the array are stored

◆ X

double** X

the tabular (2 dimensions) in which the values are stored


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