#include <testreliable.h>
List of all members.
Public Types |
enum | EventIds { CLUSTER_HEAD_CHANGED = 0,
NODE_JOINED = 1,
NODE_LEFT = 2
} |
enum | ClusterIds { UNKNOWN_CLUSTER_HEAD = 0
} |
typedef int | cluster_id_t |
typedef int | cluster_level_t |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef Timer_P | Timer |
typedef Timer::millis_t | millis_t |
typedef testreliable< OsModel,
Radio, Timer, Debug > | self_type |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef delegate1< void, int > | cluster_delegate_t |
Public Member Functions |
void | enable (void) |
void | disable (void) |
void | set_loss_rate (double theta) |
cluster_id_t | cluster_id (cluster_level_t) |
cluster_level_t | cluster_level () |
template<class T , void(T::*)(int) TMethod> |
int | reg_changed_callback (T *obj_pnt) |
void | unreg_changed_callback (int idx) |
void | receive (node_id_t receiver, size_t len, block_data_t *data) |
int | get_sum () |
int | get_duplicates () |
void | timer_elapsed (void *node) |
void | init (Radio &radio, Timer &timer, Debug &debug) |
|
| testreliable () |
| ~testreliable () |
template<typename OsModel_P, typename Radio_P, typename Timer_P, typename Debug_P>
class wiselib::testreliable< OsModel_P, Radio_P, Timer_P, Debug_P >
Member Typedef Documentation
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
Member Enumeration Documentation
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
- Enumerator:
CLUSTER_HEAD_CHANGED |
|
NODE_JOINED |
|
NODE_LEFT |
|
Constructor & Destructor Documentation
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
Member Function Documentation
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<class T , void(T::*)(int) TMethod>
int wiselib::testreliable< OsModel_P, Radio_P, Timer_P, Debug_P >::reg_changed_callback |
( |
T * |
obj_pnt | ) |
[inline] |
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::testreliable< OsModel_P, Radio_P, Timer_P, Debug_P >::set_loss_rate |
( |
double |
theta | ) |
[inline] |
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::testreliable< OsModel_P, Radio_P, Timer_P, Debug_P >::timer_elapsed |
( |
void * |
node | ) |
[inline] |
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::testreliable< OsModel_P, Radio_P, Timer_P, Debug_P >::unreg_changed_callback |
( |
int |
idx | ) |
[inline] |
The documentation for this class was generated from the following file: