Wiselib
|
Base routing class. More...
#include <routing_base.h>
Public Types | |
enum | ReturnValues |
typedef OsModel_P | OsModel |
typedef Radio_P::node_id_t | node_id_t |
typedef Radio_P::size_t | size_t |
typedef Radio_P::block_data_t | block_data_t |
typedef delegate3< void, node_id_t, size_t, block_data_t * > | radio_delegate_t |
typedef vector_static< OsModel, radio_delegate_t, MAX_RECEIVERS > | CallbackVector |
typedef CallbackVector::iterator | CallbackVectorIterator |
Public Member Functions | |
int | reg_recv_callback (T *obj_pnt) |
int | unreg_recv_callback (int idx) |
void | notify_receivers (node_id_t from, size_t len, block_data_t *data) |
Base routing class.
Basic routing class that provides helpful classes like registration of callbacks.
typedef Radio_P::block_data_t wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::block_data_t [inherited] |
typedef vector_static<OsModel, radio_delegate_t, MAX_RECEIVERS> wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::CallbackVector [inherited] |
typedef CallbackVector::iterator wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::CallbackVectorIterator [inherited] |
typedef Radio_P::node_id_t wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::node_id_t [inherited] |
typedef OsModel_P wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::OsModel [inherited] |
typedef delegate3<void, node_id_t, size_t, block_data_t*> wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::radio_delegate_t [inherited] |
typedef Radio_P::size_t wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::size_t [inherited] |
enum wiselib::RadioBase::ReturnValues [inherited] |
void wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::notify_receivers | ( | node_id_t | from, |
size_t | len, | ||
block_data_t * | data | ||
) | [inline, inherited] |
int wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::reg_recv_callback | ( | T * | obj_pnt | ) | [inline, inherited] |
int wiselib::RadioBase< OsModel_P, Radio_P::node_id_t , Radio_P::size_t , Radio_P::block_data_t , MAX_RECEIVERS >::unreg_recv_callback | ( | int | idx | ) | [inline, inherited] |