|
| NoisyWire (const std::string title_arg, TimePtr now_arg, RandomAPI &rand_arg, const unsigned int reorder_prob_arg, const unsigned int drop_prob_arg, const unsigned int corrupt_prob_arg) |
|
template<typename T1 , typename T2 > |
void | xfer (T1 &a, T2 &b) |
|
Definition at line 636 of file test_proto.cpp.
◆ NoisyWire()
NoisyWire::NoisyWire |
( |
const std::string |
title_arg, |
|
|
TimePtr |
now_arg, |
|
|
RandomAPI & |
rand_arg, |
|
|
const unsigned int |
reorder_prob_arg, |
|
|
const unsigned int |
drop_prob_arg, |
|
|
const unsigned int |
corrupt_prob_arg |
|
) |
| |
|
inline |
◆ rand()
unsigned int NoisyWire::rand |
( |
const unsigned int |
prob | ) |
|
|
inlineprivate |
◆ recv()
◆ xfer()
template<typename T1 , typename T2 >
void NoisyWire::xfer |
( |
T1 & |
a, |
|
|
T2 & |
b |
|
) |
| |
|
inline |
◆ corrupt_prob
unsigned int NoisyWire::corrupt_prob |
|
private |
◆ drop_prob
unsigned int NoisyWire::drop_prob |
|
private |
◆ random
◆ reorder_prob
unsigned int NoisyWire::reorder_prob |
|
private |
◆ title
std::string NoisyWire::title |
|
private |
◆ wire
The documentation for this class was generated from the following file: