Public Member Functions | Protected Attributes | List of all members
RTLoopHistory Class Reference

Public Member Functions

double average () const
 
 RTLoopHistory (unsigned length, double default_value)
 
void sample (double value)
 
 ~RTLoopHistory ()
 

Protected Attributes

double * history_
 
unsigned index_
 
unsigned length_
 

Detailed Description

Definition at line 236 of file main.cpp.

Constructor & Destructor Documentation

RTLoopHistory::RTLoopHistory ( unsigned  length,
double  default_value 
)
inline

Definition at line 239 of file main.cpp.

RTLoopHistory::~RTLoopHistory ( )
inline

Definition at line 248 of file main.cpp.

Member Function Documentation

double RTLoopHistory::average ( ) const
inline

Definition at line 260 of file main.cpp.

void RTLoopHistory::sample ( double  value)
inline

Definition at line 254 of file main.cpp.

Member Data Documentation

double* RTLoopHistory::history_
protected

Definition at line 271 of file main.cpp.

unsigned RTLoopHistory::index_
protected

Definition at line 269 of file main.cpp.

unsigned RTLoopHistory::length_
protected

Definition at line 270 of file main.cpp.


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


pr2_ethercat
Author(s): Rob Wheeler
autogenerated on Tue Jun 1 2021 02:50:54