Wiselib
Public Types | Public Member Functions
wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P > Class Template Reference

BFS Clustering. More...

#include <bfsclustering.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Timer_P Timer
typedef Debug_P Debug
typedef BfsClustering
< OsModel_P, Radio_P, Timer_P,
Debug_P > 
self_t
typedef self_tself_pointer_t
typedef int cluster_id_t
typedef int cluster_level_t
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
typedef wiselib::vector_static
< OsModel, node_id_t, 100 > 
vector_t

Public Member Functions

void set_theta (int theta)
cluster_level_t cluster_level ()
bool cluster_head ()
node_id_t parent ()
size_t hops ()
cluster_id_t cluster_id ()
void present_neighbors ()
template<class T , void(T::*)(int) TMethod>
int reg_changed_callback (T *obj_pnt)
void unreg_changed_callback (int idx)
int mess_join ()
int mess_join_acc ()
int mess_join_deny ()
int mess_resume ()
void enable (void)
void disable (void)
void timer_expired (void *)
void receive (node_id_t receiver, size_t len, block_data_t *data)
 BfsClustering ()
 ~BfsClustering ()
void init (Radio &radio, Timer &timer, Debug &debug)

Detailed Description

template<typename OsModel_P, typename Radio_P, typename Timer_P, typename Debug_P>
class wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >

BFS Clustering.


Member Typedef Documentation

template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef Radio::block_data_t wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::block_data_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef delegate1<void, int> wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::cluster_delegate_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef int wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::cluster_id_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef int wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::cluster_level_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef Debug_P wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::Debug
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef Radio::node_id_t wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::node_id_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef OsModel_P wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::OsModel
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef Radio_P wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::Radio
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef self_t* wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::self_pointer_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef BfsClustering<OsModel_P, Radio_P, Timer_P, Debug_P> wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::self_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef Radio::size_t wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::size_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef Timer_P wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::Timer
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
typedef wiselib::vector_static<OsModel, node_id_t, 100 > wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::vector_t

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::BfsClustering ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::~BfsClustering ( ) [inline]

Member Function Documentation

template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
bool wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::cluster_head ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
cluster_id_t wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::cluster_id ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
cluster_level_t wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::cluster_level ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::disable ( void  )
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::enable ( void  )
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
size_t wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::hops ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::init ( Radio radio,
Timer timer,
Debug debug 
) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
int wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::mess_join ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
int wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::mess_join_acc ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
int wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::mess_join_deny ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
int wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::mess_resume ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
node_id_t wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::parent ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::present_neighbors ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::receive ( node_id_t  receiver,
size_t  len,
block_data_t data 
)
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<class T , void(T::*)(int) TMethod>
int wiselib::BfsClustering< 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::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::set_theta ( int  theta) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::BfsClustering< OsModel_P, Radio_P, Timer_P, Debug_P >::timer_expired ( void *  dat)
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
void wiselib::BfsClustering< 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines