Wiselib
|
MaxMinD join decision module. More...
#include <maxmind_jd.h>
Public Types | |
typedef OsModel_P | OsModel |
typedef OsModel::Radio | Radio |
typedef OsModel::Debug | Debug |
typedef MaxmindJoinDecision < OsModel_P > | self_t |
typedef int | cluster_id_t |
typedef Radio::node_id_t | node_id_t |
typedef Radio::block_data_t | block_data_t |
typedef Radio::size_t | size_t |
Public Member Functions | |
MaxmindJoinDecision () | |
~MaxmindJoinDecision () | |
void | init (Radio &radio, Debug &debug) |
void | set_theta (int theta) |
void | set_id (node_id_t id) |
void | set_cluster_id (cluster_id_t cluster_id) |
node_id_t | id (void) |
cluster_id_t | cluster_id (void) |
void | set_sender (node_id_t sender) |
void | set_winner (node_id_t winner) |
void | get_flood_payload (block_data_t *mess) |
size_t | get_payload_length (int type) |
bool | join (block_data_t *payload, size_t length) |
void | get_winner (node_id_t *winner_list) |
void | get_sender (node_id_t *sender_list) |
void | enable () |
MaxMinD join decision module.
typedef Radio::block_data_t wiselib::MaxmindJoinDecision< OsModel_P >::block_data_t |
typedef int wiselib::MaxmindJoinDecision< OsModel_P >::cluster_id_t |
typedef OsModel::Debug wiselib::MaxmindJoinDecision< OsModel_P >::Debug |
typedef Radio::node_id_t wiselib::MaxmindJoinDecision< OsModel_P >::node_id_t |
typedef OsModel_P wiselib::MaxmindJoinDecision< OsModel_P >::OsModel |
typedef OsModel::Radio wiselib::MaxmindJoinDecision< OsModel_P >::Radio |
typedef MaxmindJoinDecision<OsModel_P> wiselib::MaxmindJoinDecision< OsModel_P >::self_t |
typedef Radio::size_t wiselib::MaxmindJoinDecision< OsModel_P >::size_t |
wiselib::MaxmindJoinDecision< OsModel_P >::MaxmindJoinDecision | ( | ) | [inline] |
wiselib::MaxmindJoinDecision< OsModel_P >::~MaxmindJoinDecision | ( | ) | [inline] |
cluster_id_t wiselib::MaxmindJoinDecision< OsModel_P >::cluster_id | ( | void | ) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::enable | ( | void | ) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::get_flood_payload | ( | block_data_t * | mess | ) | [inline] |
size_t wiselib::MaxmindJoinDecision< OsModel_P >::get_payload_length | ( | int | type | ) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::get_sender | ( | node_id_t * | sender_list | ) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::get_winner | ( | node_id_t * | winner_list | ) | [inline] |
node_id_t wiselib::MaxmindJoinDecision< OsModel_P >::id | ( | void | ) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::init | ( | Radio & | radio, |
Debug & | debug | ||
) | [inline] |
bool wiselib::MaxmindJoinDecision< OsModel_P >::join | ( | block_data_t * | payload, |
size_t | length | ||
) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::set_cluster_id | ( | cluster_id_t | cluster_id | ) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::set_id | ( | node_id_t | id | ) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::set_sender | ( | node_id_t | sender | ) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::set_theta | ( | int | theta | ) | [inline] |
void wiselib::MaxmindJoinDecision< OsModel_P >::set_winner | ( | node_id_t | winner | ) | [inline] |