Wiselib
Public Types | Public Member Functions
wiselib::MaxmindJoinDecision< OsModel_P > Class Template Reference

MaxMinD join decision module. More...

#include <maxmind_jd.h>

List of all members.

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 ()

Detailed Description

template<typename OsModel_P>
class wiselib::MaxmindJoinDecision< OsModel_P >

MaxMinD join decision module.


Member Typedef Documentation

template<typename OsModel_P >
typedef Radio::block_data_t wiselib::MaxmindJoinDecision< OsModel_P >::block_data_t
template<typename OsModel_P >
typedef int wiselib::MaxmindJoinDecision< OsModel_P >::cluster_id_t
template<typename OsModel_P >
typedef OsModel::Debug wiselib::MaxmindJoinDecision< OsModel_P >::Debug
template<typename OsModel_P >
typedef Radio::node_id_t wiselib::MaxmindJoinDecision< OsModel_P >::node_id_t
template<typename OsModel_P >
typedef OsModel_P wiselib::MaxmindJoinDecision< OsModel_P >::OsModel
template<typename OsModel_P >
typedef OsModel::Radio wiselib::MaxmindJoinDecision< OsModel_P >::Radio
template<typename OsModel_P >
typedef MaxmindJoinDecision<OsModel_P> wiselib::MaxmindJoinDecision< OsModel_P >::self_t
template<typename OsModel_P >
typedef Radio::size_t wiselib::MaxmindJoinDecision< OsModel_P >::size_t

Constructor & Destructor Documentation

template<typename OsModel_P >
wiselib::MaxmindJoinDecision< OsModel_P >::MaxmindJoinDecision ( ) [inline]
template<typename OsModel_P >
wiselib::MaxmindJoinDecision< OsModel_P >::~MaxmindJoinDecision ( ) [inline]

Member Function Documentation

template<typename OsModel_P >
cluster_id_t wiselib::MaxmindJoinDecision< OsModel_P >::cluster_id ( void  ) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::enable ( void  ) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::get_flood_payload ( block_data_t mess) [inline]
template<typename OsModel_P >
size_t wiselib::MaxmindJoinDecision< OsModel_P >::get_payload_length ( int  type) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::get_sender ( node_id_t sender_list) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::get_winner ( node_id_t winner_list) [inline]
template<typename OsModel_P >
node_id_t wiselib::MaxmindJoinDecision< OsModel_P >::id ( void  ) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::init ( Radio radio,
Debug debug 
) [inline]
template<typename OsModel_P >
bool wiselib::MaxmindJoinDecision< OsModel_P >::join ( block_data_t payload,
size_t  length 
) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::set_cluster_id ( cluster_id_t  cluster_id) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::set_id ( node_id_t  id) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::set_sender ( node_id_t  sender) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::set_theta ( int  theta) [inline]
template<typename OsModel_P >
void wiselib::MaxmindJoinDecision< OsModel_P >::set_winner ( node_id_t  winner) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines