Wiselib
|
Dbfs graph implementation of Graph ConceptDbfs graph implementation of Graph Concept. More...
#include <dbfs_graph.h>
Public Types | |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef OsModel_P::Timer | Timer |
typedef DbfsGraph< OsModel, Radio, Debug, MAX_NODES > | self_type |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef Timer::millis_t | millis_t |
typedef delegate0< void > | dbfs_delegate_t |
Public Member Functions | |
void | set_startup_time (millis_t startup_time) |
void | set_neighbourhood_construction_time (millis_t neighbourhood_construction_time) |
template<class T , void(T::*)() TMethod> | |
void | reg_finish_callback (T *obj_pnt) |
void | init (Radio &radio, Timer &timer, Debug &debug) |
void | destruct () |
Construction / Destruction | |
DbfsGraph () | |
~DbfsGraph () | |
Main Control | |
void | enable (void) |
void | disable (void) |
void | set_root (void) |
Methods called by Timer | |
void | timer0 (void *userdata) |
void | timer1 (void *userdata) |
Methods called by RadioModel | |
void | receive (node_id_t from, size_t len, block_data_t *data) |
Public Attributes | |
Data | |
uint8_t | level_ |
node_id_t | parent_ |
vector_static< OsModel, node_id_t, MAX_NODES > | children_ |
Dbfs graph implementation of Graph Concept
Dbfs graph implementation of Graph Concept.
typedef Radio::block_data_t wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::block_data_t |
typedef delegate0<void> wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::dbfs_delegate_t |
typedef Debug_P wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::Debug |
typedef Timer::millis_t wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::millis_t |
typedef Radio::node_id_t wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::node_id_t |
typedef OsModel_P wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::OsModel |
typedef Radio_P wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::Radio |
typedef DbfsGraph<OsModel, Radio, Debug, MAX_NODES> wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::self_type |
typedef Radio::size_t wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::size_t |
typedef OsModel_P::Timer wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::Timer |
wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::DbfsGraph | ( | ) |
wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::~DbfsGraph | ( | ) |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::destruct | ( | void | ) | [inline] |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::disable | ( | void | ) |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::enable | ( | void | ) |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::init | ( | Radio & | radio, |
Timer & | timer, | ||
Debug & | debug | ||
) | [inline] |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::receive | ( | node_id_t | from, |
size_t | len, | ||
block_data_t * | data | ||
) |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::reg_finish_callback | ( | T * | obj_pnt | ) | [inline] |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::set_neighbourhood_construction_time | ( | millis_t | neighbourhood_construction_time | ) | [inline] |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::set_root | ( | void | ) | [inline] |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::set_startup_time | ( | millis_t | startup_time | ) | [inline] |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::timer0 | ( | void * | userdata | ) |
void wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::timer1 | ( | void * | userdata | ) |
vector_static<OsModel, node_id_t, MAX_NODES> wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::children_ |
uint8_t wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::level_ |
node_id_t wiselib::DbfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::parent_ |