RTLoopHistory Class Reference

List of all members.

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 234 of file main.cpp.


Constructor & Destructor Documentation

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

Definition at line 237 of file main.cpp.

RTLoopHistory::~RTLoopHistory (  )  [inline]

Definition at line 246 of file main.cpp.


Member Function Documentation

double RTLoopHistory::average (  )  const [inline]

Definition at line 258 of file main.cpp.

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

Definition at line 252 of file main.cpp.


Member Data Documentation

double* RTLoopHistory::history_ [protected]

Definition at line 269 of file main.cpp.

unsigned RTLoopHistory::index_ [protected]

Definition at line 267 of file main.cpp.

unsigned RTLoopHistory::length_ [protected]

Definition at line 268 of file main.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Defines


pr2_etherCAT
Author(s): Rob Wheeler/wheeler@willowgarage.com
autogenerated on Fri Jan 11 09:09:48 2013