Public Member Functions | Protected Attributes
RTLoopHistory Class Reference

List of all members.

Public Member Functions

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

Protected Attributes

vector< double > history_
unsigned index_
unsigned length_

Detailed Description

Definition at line 227 of file main.cpp.


Constructor & Destructor Documentation

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

Definition at line 231 of file main.cpp.


Member Function Documentation

double RTLoopHistory::average ( ) const [inline]

Definition at line 244 of file main.cpp.

void RTLoopHistory::sample ( double  value) [inline]

Definition at line 238 of file main.cpp.


Member Data Documentation

vector<double> RTLoopHistory::history_ [protected]

Definition at line 252 of file main.cpp.

unsigned RTLoopHistory::index_ [protected]

Definition at line 250 of file main.cpp.

unsigned RTLoopHistory::length_ [protected]

Definition at line 251 of file main.cpp.


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


ros_ethercat_loop
Author(s): Manos Nikolaidis
autogenerated on Thu Jul 4 2019 20:01:57