Lmst topology implementation of Topology ConceptLmst topology implementation of Topology concept ...
More...
#include <lmst_topology.h>
Inherits wiselib::TopologyBase< OsModel_P >.
List of all members.
Public Types |
typedef OsModel_P | OsModel |
typedef Localization_P | Localization |
typedef Radio_P | Radio |
typedef Timer_P | Timer |
typedef LmstTopology
< OsModel_P, Localization_P,
Float, MAX_NODES, Radio_P,
Timer_P > | self_type |
typedef LmstTopologyMessage
< OsModel, Radio, Float > | TopologyMessage |
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 Float | position_t |
typedef pair< position_t,
node_id_t > | PPI |
typedef PositionType< position_t > | Position |
typedef vector_static< OsModel,
node_id_t, MAX_NODES > | Neighbors |
typedef delegate0< void > | topology_delegate_t |
Public Member Functions |
void | set_startup_time (millis_t startup_time) |
void | set_work_period (millis_t work_period) |
Neighbors & | topology () |
position_t | range_assignment () |
void | init (Localization &loc, Radio &radio, Timer &timer) |
void | destruct () |
template<class T , void(T::*)() TMethod> |
void | reg_listener_callback (T *obj_pnt) |
template<void(*)() TMethod> |
void | reg_listener_callback () |
void | unreg_listener_callback (void) |
void | notify_listeners () |
|
| LmstTopology () |
| ~LmstTopology () |
|
void | enable (void) |
void | disable (void) |
|
void | timer_elapsed (void *userdata) |
|
void | receive (node_id_t from, size_t len, block_data_t *data) |
Static Public Attributes |
static const uint8_t | POSITION_SIZE = sizeof( Position ) |
Detailed Description
template<typename OsModel_P, typename Localization_P, typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
class wiselib::LmstTopology< OsModel_P, Localization_P, Float, MAX_NODES, Radio_P, Timer_P >
Lmst topology implementation of Topology Concept
Lmst topology implementation of Topology concept ...
Member Typedef Documentation
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef LmstTopology<OsModel_P, Localization_P, Float, MAX_NODES, Radio_P, Timer_P> wiselib::LmstTopology< OsModel_P, Localization_P, Float, MAX_NODES, Radio_P, Timer_P >::self_type |
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P >
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
Constructor & Destructor Documentation
template<typename OsModel_P , typename Localization_P , typename Float , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
template<typename OsModel_P , typename Localization_P , typename Float , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
Member Function Documentation
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
void wiselib::LmstTopology< OsModel_P, Localization_P, Float, MAX_NODES, Radio_P, Timer_P >::destruct |
( |
void |
| ) |
[inline] |
template<typename OsModel_P , typename Localization_P , typename Float , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
void wiselib::LmstTopology< OsModel_P, Localization_P, Float, MAX_NODES, Radio_P, Timer_P >::disable |
( |
void |
| ) |
|
template<typename OsModel_P , typename Localization_P , typename Float , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
void wiselib::LmstTopology< OsModel_P, Localization_P, Float, MAX_NODES, Radio_P, Timer_P >::enable |
( |
void |
| ) |
|
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P >
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
template<typename OsModel_P >
template<class T , void(T::*)() TMethod>
template<typename OsModel_P >
template<void(*)() TMethod>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P , typename Localization_P , typename Float , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
void wiselib::LmstTopology< OsModel_P, Localization_P, Float, MAX_NODES, Radio_P, Timer_P >::timer_elapsed |
( |
void * |
userdata | ) |
|
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
template<typename OsModel_P >
Member Data Documentation
template<typename OsModel_P , typename Localization_P , typename Float = double, uint16_t MAX_NODES = 32, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
The documentation for this class was generated from the following file: