OpenDDS::DCPS::WriterStats Class Reference

Elements stored for managing statistical data. More...

#include <DataReaderImpl.h>

Collaboration diagram for OpenDDS::DCPS::WriterStats:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WriterStats (int amount=0, DataCollector< double >::OnFull type=DataCollector< double >::KeepOldest)
 Default constructor.
void add_stat (const ACE_Time_Value &delay)
 Add a datum to the latency statistics.
LatencyStatistics get_stats () const
 Extract the current latency statistics for this writer.
void reset_stats ()
 Reset the latency statistics for this writer.
std::ostream & raw_data (std::ostream &str) const
 Dump any raw data.

Private Attributes

Stats< double > stats_
 Latency statistics for the DataWriter to this DataReader.

Detailed Description

Elements stored for managing statistical data.


Constructor & Destructor Documentation

OpenDDS::DCPS::WriterStats::WriterStats ( int  amount = 0,
DataCollector< double >::OnFull  type = DataCollector< double >::KeepOldest 
)

Default constructor.


Member Function Documentation

void OpenDDS::DCPS::WriterStats::add_stat ( const ACE_Time_Value &  delay  ) 

Add a datum to the latency statistics.

OpenDDS::DCPS::LatencyStatistics OpenDDS::DCPS::WriterStats::get_stats (  )  const

Extract the current latency statistics for this writer.

std::ostream & OpenDDS::DCPS::WriterStats::raw_data ( std::ostream &  str  )  const

Dump any raw data.

void OpenDDS::DCPS::WriterStats::reset_stats (  ) 

Reset the latency statistics for this writer.


Member Data Documentation

Stats<double> OpenDDS::DCPS::WriterStats::stats_ [private]

Latency statistics for the DataWriter to this DataReader.


The documentation for this class was generated from the following files:
Generated on Wed Nov 16 15:28:39 2011 for OpenDDS by  doxygen 1.4.7