Wiselib
|
Fronts clustering core component. More...
#include <fronts_core.h>
Inherits wiselib::ClusteringBase< OsModel_P >.
Fronts clustering core component.
typedef Radio::block_data_t wiselib::FrontsCore< OsModel_P, Radio_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::ClusteringBase< OsModel_P, 5 >::cluster_delegate_t [inherited] |
typedef node_id_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::cluster_id_t |
typedef uint16_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::cluster_level_t |
typedef delegate3<void, uint8_t, cluster_id_t, node_id_t> wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::cradio_delegate_t |
typedef OsModel::Debug wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Debug |
typedef HeadDecision_P wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::HeadDecision_t |
typedef Iterator_P wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Iterator_t |
typedef JoinDecision_P wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::JoinDecision_t |
typedef wiselib::Echo<OsModel, Radio, Timer, Debug> wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::nb_t |
typedef Radio::node_id_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::node_id_t |
typedef OsModel_P wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::OsModel |
Reimplemented from wiselib::ClusteringBase< OsModel_P >.
typedef Radio_P wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Radio |
typedef OsModel::Rand wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Rand |
typedef FrontsCore<OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P> wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::self_type |
typedef Radio::size_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::size_t |
typedef OsModel::Timer wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::Timer |
enum wiselib::ClusteringBase::ReturnValues [inherited] |
wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::FrontsCore | ( | ) | [inline] |
wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::~FrontsCore | ( | ) | [inline] |
size_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::beacon_size | ( | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::childs | ( | node_id_t * | list | ) | [inline] |
int wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::childs_count | ( | ) | [inline] |
cluster_id_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::cluster_id | ( | void | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::cluster_state_changed | ( | int | event | ) | throw () [inline, protected] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::disable | ( | void | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::enable | ( | void | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::enable | ( | int | start_in | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::find_head | ( | void * | value | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::form_cluster | ( | void * | parameter | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::get_beacon | ( | uint8_t * | mess | ) | [inline] |
node_id_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::get_next_node_to_child | ( | node_id_t | dest | ) | [inline] |
uint8_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::hops | ( | void | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::init | ( | Radio & | radiot, |
Timer & | timert, | ||
Debug & | debugt, | ||
Rand & | randt, | ||
nb_t & | neighbor_discovery | ||
) | [inline] |
bool wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::is_cluster_head | ( | ) | [inline] |
bool wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::is_gateway | ( | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::ND_callback | ( | uint8_t | event, |
node_id_t | from, | ||
uint8_t | len, | ||
uint8_t * | data | ||
) | [inline, protected] |
size_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::node_count | ( | int | type | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::node_lost | ( | node_id_t | node | ) | [inline, protected] |
int wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::node_type | ( | void | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::notify_cradio | ( | uint8_t | event, |
cluster_id_t | from, | ||
node_id_t | to | ||
) | [inline, protected] |
node_id_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::parent | ( | void | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::present_neighbors | ( | void | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::receive | ( | node_id_t | from, |
size_t | len, | ||
block_data_t * | recvm | ||
) | [inline, protected] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::receive_beacon | ( | node_id_t | node_from, |
size_t | len, | ||
uint8_t * | data | ||
) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::reform_cluster | ( | void * | parameter | ) | [inline] |
uint8_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::reg_notify_cradio | ( | T * | obj_pnt | ) | [inline] |
int wiselib::ClusteringBase< OsModel_P, 5 >::reg_state_changed_callback | ( | T * | obj_pnt | ) | [inline, inherited] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::register_debug_callback | ( | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::reset_beacon_payload | ( | ) | [inline, protected] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::set_cluster_head_decision | ( | HeadDecision_t & | chd | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::set_iterator | ( | Iterator_t & | it | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::set_join_decision | ( | JoinDecision_t & | jd | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::set_maxhops | ( | uint8_t | maxhops | ) | [inline] |
void wiselib::ClusteringBase< OsModel_P, 5 >::state_changed | ( | int | event | ) | [inline, inherited] |
uint8_t wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::status | ( | ) | [inline] |
int wiselib::ClusteringBase< OsModel_P, 5 >::unreg_state_changed_callback | ( | int | idx | ) | [inline, inherited] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::wait2form_cluster | ( | void * | timer_value | ) | [inline] |
void wiselib::FrontsCore< OsModel_P, Radio_P, HeadDecision_P, JoinDecision_P, Iterator_P >::wait_for_joins | ( | void * | data | ) | [inline, protected] |