TDCBase
Data Fields
TDC_LftFunction Struct Reference

Histogram Function. More...

#include <tdclifetm.h>

Data Fields

Int32 capacity
 Array size of values.
 
Int32 size
 Number of valid items in values.
 
Int32 binWidth
 Size of a t step in TDC time units.
 
double values [1]
 Array of function values.
 

Detailed Description

Histogram Function.

The struct transports the representation of a histogram. Values is an array of capacity elements that contiains size function values, each representing a time diff range of binWidth TDC time units (see TDC_setLftParams). While real histogram counters only can have integer values, the data format is floating point to allow for smoothly fitted functions.

When using the struct to retrieve a function, the capacity must always be sufficient for the expected size; ohterways error TDC_OutOfRange will be returned. It is recommended to create the struct using TDC_createLftFunction after the last call of TDC_setLftParams.

Definition at line 79 of file tdclifetm.h.


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