#include <TestShortSingleDelay.h>
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_ |
Definition at line 48 of file TestShortSingleDelay.h.
TestShortSingleDelay::TestShortSingleDelay | ( | int | sid, |
string const & | type | ||
) | [inline] |
Definition at line 75 of file TestShortSingleDelay.h.
TestShortSingleDelay::~TestShortSingleDelay | ( | ) | [inline] |
Definition at line 105 of file TestShortSingleDelay.h.
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.
void TestShortSingleDelay::statistics | ( | ) | [inline] |
Definition at line 290 of file TestShortSingleDelay.h.
void TestShortSingleDelay::timer | ( | socrob::multicast::Manager & | manager | ) | [inline] |
Definition at line 130 of file TestShortSingleDelay.h.
long double TestShortSingleDelay::acc_arrival_delay_ [private] |
Definition at line 62 of file TestShortSingleDelay.h.
long double TestShortSingleDelay::acc_complete_delay_ [private] |
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.
unsigned TestShortSingleDelay::output_line_ [private] |
Definition at line 71 of file TestShortSingleDelay.h.
Time TestShortSingleDelay::output_time_base_ [private] |
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.
unsigned TestShortSingleDelay::round_number_ [private] |
Definition at line 56 of file TestShortSingleDelay.h.
Time TestShortSingleDelay::round_tx_ [private] |
Definition at line 58 of file TestShortSingleDelay.h.
unsigned TestShortSingleDelay::round_uid_ [private] |
Definition at line 57 of file TestShortSingleDelay.h.
int TestShortSingleDelay::sid_ [private] |
Definition at line 52 of file TestShortSingleDelay.h.
bool TestShortSingleDelay::waiting_ [private] |
Definition at line 60 of file TestShortSingleDelay.h.