Public Member Functions | Private Attributes
TestShortMultipleDelay Class Reference

#include <TestShortMultipleDelay.h>

List of all members.

Public Member Functions

bool is_question (vector< uint8_t > &question)
void short_callback (map< id_type, vector< uint8_t > > &answers)
void short_handler (vector< uint8_t > &answer, id_type from, vector< uint8_t > &question)
void statistics ()
 TestShortMultipleDelay (int sid, string const &type)
void timer (socrob::multicast::Manager &manager)
 ~TestShortMultipleDelay ()

Private Attributes

long double acc_avg_arrival_delay_
long double acc_complete_delay_
long double acc_max_arrival_delay_
unsigned long failed_
const uint8_t MAGIC_BYTE_
boost::mutex mutex_
unsigned long num_rounds_
ofstream output_
unsigned output_line_
Time output_time_base_
boost::variate_generator
< boost::mt19937,
boost::uniform_int< unsigned > > 
random_uid_
unsigned round_number_
Time round_tx_
unsigned round_uid_
int sid_
bool waiting_

Detailed Description

Definition at line 49 of file TestShortMultipleDelay.h.


Constructor & Destructor Documentation

TestShortMultipleDelay::TestShortMultipleDelay ( int  sid,
string const &  type 
) [inline]

Definition at line 77 of file TestShortMultipleDelay.h.

Definition at line 110 of file TestShortMultipleDelay.h.


Member Function Documentation

bool TestShortMultipleDelay::is_question ( vector< uint8_t > &  question) [inline]

Definition at line 120 of file TestShortMultipleDelay.h.

void TestShortMultipleDelay::short_callback ( map< id_type, vector< uint8_t > > &  answers) [inline]

Definition at line 221 of file TestShortMultipleDelay.h.

void TestShortMultipleDelay::short_handler ( vector< uint8_t > &  answer,
id_type  from,
vector< uint8_t > &  question 
) [inline]

Definition at line 187 of file TestShortMultipleDelay.h.

Definition at line 314 of file TestShortMultipleDelay.h.

Definition at line 134 of file TestShortMultipleDelay.h.


Member Data Documentation

Definition at line 64 of file TestShortMultipleDelay.h.

Definition at line 65 of file TestShortMultipleDelay.h.

Definition at line 63 of file TestShortMultipleDelay.h.

unsigned long TestShortMultipleDelay::failed_ [private]

Definition at line 68 of file TestShortMultipleDelay.h.

const uint8_t TestShortMultipleDelay::MAGIC_BYTE_ [private]

Definition at line 55 of file TestShortMultipleDelay.h.

boost::mutex TestShortMultipleDelay::mutex_ [private]

Definition at line 51 of file TestShortMultipleDelay.h.

unsigned long TestShortMultipleDelay::num_rounds_ [private]

Definition at line 66 of file TestShortMultipleDelay.h.

ofstream TestShortMultipleDelay::output_ [private]

Definition at line 74 of file TestShortMultipleDelay.h.

Definition at line 73 of file TestShortMultipleDelay.h.

Definition at line 72 of file TestShortMultipleDelay.h.

boost::variate_generator<boost::mt19937, boost::uniform_int<unsigned> > TestShortMultipleDelay::random_uid_ [private]

Definition at line 70 of file TestShortMultipleDelay.h.

Definition at line 57 of file TestShortMultipleDelay.h.

Definition at line 59 of file TestShortMultipleDelay.h.

Definition at line 58 of file TestShortMultipleDelay.h.

Definition at line 53 of file TestShortMultipleDelay.h.

Definition at line 61 of file TestShortMultipleDelay.h.


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


socrob_multicast
Author(s): Joao Reis/jreis@isr.ist.utl.pt
autogenerated on Mon Jan 6 2014 11:47:49