#include <TestShortMultipleDelay.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 () |
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_ |
Definition at line 49 of file TestShortMultipleDelay.h.
TestShortMultipleDelay::TestShortMultipleDelay | ( | int | sid, |
string const & | type | ||
) | [inline] |
Definition at line 77 of file TestShortMultipleDelay.h.
TestShortMultipleDelay::~TestShortMultipleDelay | ( | ) | [inline] |
Definition at line 110 of file TestShortMultipleDelay.h.
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.
void TestShortMultipleDelay::statistics | ( | ) | [inline] |
Definition at line 314 of file TestShortMultipleDelay.h.
void TestShortMultipleDelay::timer | ( | socrob::multicast::Manager & | manager | ) | [inline] |
Definition at line 134 of file TestShortMultipleDelay.h.
long double TestShortMultipleDelay::acc_avg_arrival_delay_ [private] |
Definition at line 64 of file TestShortMultipleDelay.h.
long double TestShortMultipleDelay::acc_complete_delay_ [private] |
Definition at line 65 of file TestShortMultipleDelay.h.
long double TestShortMultipleDelay::acc_max_arrival_delay_ [private] |
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.
unsigned TestShortMultipleDelay::output_line_ [private] |
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.
unsigned TestShortMultipleDelay::round_number_ [private] |
Definition at line 57 of file TestShortMultipleDelay.h.
Time TestShortMultipleDelay::round_tx_ [private] |
Definition at line 59 of file TestShortMultipleDelay.h.
unsigned TestShortMultipleDelay::round_uid_ [private] |
Definition at line 58 of file TestShortMultipleDelay.h.
int TestShortMultipleDelay::sid_ [private] |
Definition at line 53 of file TestShortMultipleDelay.h.
bool TestShortMultipleDelay::waiting_ [private] |
Definition at line 61 of file TestShortMultipleDelay.h.