Public Member Functions | Private Attributes
TestShortSingleDelay Class Reference

#include <TestShortSingleDelay.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 ()
 TestShortSingleDelay (int sid, string const &type)
void timer (socrob::multicast::Manager &manager)
 ~TestShortSingleDelay ()

Private Attributes

long double acc_arrival_delay_
long double acc_complete_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 48 of file TestShortSingleDelay.h.


Constructor & Destructor Documentation

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

Definition at line 75 of file TestShortSingleDelay.h.

Definition at line 105 of file TestShortSingleDelay.h.


Member Function Documentation

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

Definition at line 116 of file TestShortSingleDelay.h.

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

Definition at line 214 of file TestShortSingleDelay.h.

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

Definition at line 180 of file TestShortSingleDelay.h.

Definition at line 290 of file TestShortSingleDelay.h.

Definition at line 130 of file TestShortSingleDelay.h.


Member Data Documentation

Definition at line 62 of file TestShortSingleDelay.h.

Definition at line 63 of file TestShortSingleDelay.h.

unsigned long TestShortSingleDelay::failed_ [private]

Definition at line 66 of file TestShortSingleDelay.h.

const uint8_t TestShortSingleDelay::MAGIC_BYTE_ [private]

Definition at line 54 of file TestShortSingleDelay.h.

boost::mutex TestShortSingleDelay::mutex_ [private]

Definition at line 50 of file TestShortSingleDelay.h.

unsigned long TestShortSingleDelay::num_rounds_ [private]

Definition at line 64 of file TestShortSingleDelay.h.

ofstream TestShortSingleDelay::output_ [private]

Definition at line 72 of file TestShortSingleDelay.h.

Definition at line 71 of file TestShortSingleDelay.h.

Definition at line 70 of file TestShortSingleDelay.h.

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

Definition at line 68 of file TestShortSingleDelay.h.

Definition at line 56 of file TestShortSingleDelay.h.

Definition at line 58 of file TestShortSingleDelay.h.

Definition at line 57 of file TestShortSingleDelay.h.

Definition at line 52 of file TestShortSingleDelay.h.

Definition at line 60 of file TestShortSingleDelay.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