Wiselib
|
Ddfs graph implementation of Graph ConceptDdfs graph implementation of Graph Concept. More...
#include <ddfs_graph.h>
Public Types | |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef OsModel_P::Timer | Timer |
typedef DdfsGraph< 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 > | ddfs_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 | |
DdfsGraph () | |
~DdfsGraph () | |
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 | |
node_id_t | parent_ |
vector_static< OsModel, node_id_t, MAX_NODES > | children_ |
Ddfs graph implementation of Graph Concept
Ddfs graph implementation of Graph Concept.
typedef Radio::block_data_t wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::block_data_t |
typedef delegate0<void> wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::ddfs_delegate_t |
typedef Debug_P wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::Debug |
typedef Timer::millis_t wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::millis_t |
typedef Radio::node_id_t wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::node_id_t |
typedef OsModel_P wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::OsModel |
typedef Radio_P wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::Radio |
typedef DdfsGraph<OsModel, Radio, Debug, MAX_NODES> wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::self_type |
typedef Radio::size_t wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::size_t |
typedef OsModel_P::Timer wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::Timer |
wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::DdfsGraph | ( | ) |
wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::~DdfsGraph | ( | ) |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::destruct | ( | void | ) | [inline] |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::disable | ( | void | ) |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::enable | ( | void | ) |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::init | ( | Radio & | radio, |
Timer & | timer, | ||
Debug & | debug | ||
) | [inline] |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::receive | ( | node_id_t | from, |
size_t | len, | ||
block_data_t * | data | ||
) |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::reg_finish_callback | ( | T * | obj_pnt | ) | [inline] |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::set_neighbourhood_construction_time | ( | millis_t | neighbourhood_construction_time | ) | [inline] |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::set_root | ( | void | ) | [inline] |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::set_startup_time | ( | millis_t | startup_time | ) | [inline] |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::timer0 | ( | void * | userdata | ) |
void wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::timer1 | ( | void * | userdata | ) |
vector_static<OsModel, node_id_t, MAX_NODES> wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::children_ |
node_id_t wiselib::DdfsGraph< OsModel_P, Radio_P, Debug_P, MAX_NODES >::parent_ |