#include <TestShortMultipleInLongDelay.h>
Public Member Functions | |
void | long_marshall (vector< uint8_t > &buffer) |
void | long_unmarshall (socrob::multicast::id_type, vector< uint8_t > &buffer) |
void | statistics () |
TestShortMultipleInLongDelay (int sid, string const &type) | |
void | timer () |
~TestShortMultipleInLongDelay () | |
Private Member Functions | |
void | all_answers () |
Private Attributes | |
long double | acc_avg_arrival_delay_ |
long double | acc_complete_delay_ |
long double | acc_max_arrival_delay_ |
bool | answer_ |
const uint8_t | ANSWER_MAGIC_BYTE_ |
unsigned | answer_number_ |
Time | answer_time_ |
unsigned | answer_uid_ |
boost::mutex | mutex_ |
unsigned long | num_rounds_ |
ofstream | output_ |
unsigned | output_line_ |
Time | output_time_base_ |
const uint8_t | QUESTION_MAGIC_BYTE_ |
boost::variate_generator < boost::mt19937, boost::uniform_int< unsigned > > | random_uid_ |
map< id_type, Time > | round_answers_ |
unsigned | round_number_ |
Time | round_tx_ |
unsigned | round_uid_ |
int | sid_ |
bool | waiting_ |
Definition at line 50 of file TestShortMultipleInLongDelay.h.
TestShortMultipleInLongDelay::TestShortMultipleInLongDelay | ( | int | sid, |
string const & | type | ||
) | [inline] |
Definition at line 82 of file TestShortMultipleInLongDelay.h.
Definition at line 122 of file TestShortMultipleInLongDelay.h.
void TestShortMultipleInLongDelay::all_answers | ( | ) | [inline, private] |
Definition at line 288 of file TestShortMultipleInLongDelay.h.
void TestShortMultipleInLongDelay::long_marshall | ( | vector< uint8_t > & | buffer | ) | [inline] |
Definition at line 151 of file TestShortMultipleInLongDelay.h.
void TestShortMultipleInLongDelay::long_unmarshall | ( | socrob::multicast::id_type | , |
vector< uint8_t > & | buffer | ||
) | [inline] |
Definition at line 211 of file TestShortMultipleInLongDelay.h.
void TestShortMultipleInLongDelay::statistics | ( | ) | [inline] |
Definition at line 327 of file TestShortMultipleInLongDelay.h.
void TestShortMultipleInLongDelay::timer | ( | ) | [inline] |
Definition at line 132 of file TestShortMultipleInLongDelay.h.
long double TestShortMultipleInLongDelay::acc_avg_arrival_delay_ [private] |
Definition at line 71 of file TestShortMultipleInLongDelay.h.
long double TestShortMultipleInLongDelay::acc_complete_delay_ [private] |
Definition at line 72 of file TestShortMultipleInLongDelay.h.
long double TestShortMultipleInLongDelay::acc_max_arrival_delay_ [private] |
Definition at line 70 of file TestShortMultipleInLongDelay.h.
bool TestShortMultipleInLongDelay::answer_ [private] |
Definition at line 65 of file TestShortMultipleInLongDelay.h.
const uint8_t TestShortMultipleInLongDelay::ANSWER_MAGIC_BYTE_ [private] |
Definition at line 57 of file TestShortMultipleInLongDelay.h.
unsigned TestShortMultipleInLongDelay::answer_number_ [private] |
Definition at line 66 of file TestShortMultipleInLongDelay.h.
Definition at line 68 of file TestShortMultipleInLongDelay.h.
unsigned TestShortMultipleInLongDelay::answer_uid_ [private] |
Definition at line 67 of file TestShortMultipleInLongDelay.h.
boost::mutex TestShortMultipleInLongDelay::mutex_ [private] |
Definition at line 52 of file TestShortMultipleInLongDelay.h.
unsigned long TestShortMultipleInLongDelay::num_rounds_ [private] |
Definition at line 73 of file TestShortMultipleInLongDelay.h.
ofstream TestShortMultipleInLongDelay::output_ [private] |
Definition at line 79 of file TestShortMultipleInLongDelay.h.
unsigned TestShortMultipleInLongDelay::output_line_ [private] |
Definition at line 78 of file TestShortMultipleInLongDelay.h.
Definition at line 77 of file TestShortMultipleInLongDelay.h.
const uint8_t TestShortMultipleInLongDelay::QUESTION_MAGIC_BYTE_ [private] |
Definition at line 56 of file TestShortMultipleInLongDelay.h.
boost::variate_generator<boost::mt19937, boost::uniform_int<unsigned> > TestShortMultipleInLongDelay::random_uid_ [private] |
Definition at line 75 of file TestShortMultipleInLongDelay.h.
map<id_type, Time> TestShortMultipleInLongDelay::round_answers_ [private] |
Definition at line 63 of file TestShortMultipleInLongDelay.h.
unsigned TestShortMultipleInLongDelay::round_number_ [private] |
Definition at line 60 of file TestShortMultipleInLongDelay.h.
Time TestShortMultipleInLongDelay::round_tx_ [private] |
Definition at line 62 of file TestShortMultipleInLongDelay.h.
unsigned TestShortMultipleInLongDelay::round_uid_ [private] |
Definition at line 61 of file TestShortMultipleInLongDelay.h.
int TestShortMultipleInLongDelay::sid_ [private] |
Definition at line 54 of file TestShortMultipleInLongDelay.h.
bool TestShortMultipleInLongDelay::waiting_ [private] |
Definition at line 59 of file TestShortMultipleInLongDelay.h.