Wiselib
|
Moca clustering core component. More...
#include <moca.h>
Inherits wiselib::ClusteringBase< OsModel_P >.
Moca clustering core component.
typedef Radio::block_data_t wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::block_data_t |
typedef vector_static<OsModel, cluster_delegate_t, 5 > wiselib::ClusteringBase< OsModel_P, 5 >::CallbackVector [inherited] |
typedef CallbackVector::iterator wiselib::ClusteringBase< OsModel_P, 5 >::CallbackVectorIterator [inherited] |
typedef delegate1<void, int> wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::cluster_delegate_t |
Reimplemented from wiselib::ClusteringBase< OsModel_P >.
typedef node_id_t wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::cluster_id_t |
typedef int wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::cluster_level_t |
typedef OsModel::Debug wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Debug |
typedef HeadDecision_P wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::HeadDecision_t |
typedef Iterator_P wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Iterator_t |
typedef JoinDecision_P wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::JoinDecision_t |
typedef Radio::node_id_t wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::node_id_t |
typedef OsModel_P wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::OsModel |
Reimplemented from wiselib::ClusteringBase< OsModel_P >.
typedef OsModel::Radio wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Radio |
typedef OsModel::Rand wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Rand |
typedef MocaCore<OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P > wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::self_t |
typedef Radio::size_t wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::size_t |
typedef OsModel::Timer wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Timer |
enum wiselib::ClusteringBase::ReturnValues [inherited] |
wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::MocaCore | ( | ) | [inline] |
wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::~MocaCore | ( | ) | [inline] |
cluster_id_t wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::cluster_id | ( | size_t | cluster_no = 0 | ) | [inline] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::disable | ( | void | ) |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::enable | ( | void | ) |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::find_head | ( | void | ) |
size_t wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::hops | ( | cluster_id_t | cluster_id = 0 | ) | [inline] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::init | ( | Radio & | radio, |
Timer & | timer, | ||
Debug & | debug | ||
) | [inline] |
int wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::mess_join | ( | ) | [inline] |
int wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::mess_join_request | ( | ) | [inline] |
int wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::node_type | ( | void | ) | [inline] |
node_id_t wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::parent | ( | cluster_id_t | cluster_id = 0 | ) | [inline] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::present_neighbors | ( | ) | [inline] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::receive | ( | node_id_t | receiver, |
size_t | len, | ||
block_data_t * | data | ||
) | [protected] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::receive_next | ( | int | num | ) |
int wiselib::ClusteringBase< OsModel_P, 5 >::reg_state_changed_callback | ( | T * | obj_pnt | ) | [inline, inherited] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::reply_to_head | ( | void * | d | ) |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::set_cluster_head_decision | ( | HeadDecision_t & | chd | ) | [inline] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::set_iterator | ( | Iterator_t & | it | ) | [inline] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::set_join_decision | ( | JoinDecision_t & | jd | ) | [inline] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::set_maxhops | ( | int | maxhops | ) | [inline] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::set_probability | ( | int | prob | ) | [inline] |
void wiselib::ClusteringBase< OsModel_P, 5 >::state_changed | ( | int | event | ) | [inline, inherited] |
void wiselib::MocaCore< OsModel_P, HeadDecision_P, JoinDecision_P, Iterator_P >::timer_expired | ( | void * | d | ) |
int wiselib::ClusteringBase< OsModel_P, 5 >::unreg_state_changed_callback | ( | int | idx | ) | [inline, inherited] |