Wiselib
Public Types | Public Member Functions
wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES > Class Template Reference

Cbtc topology implementation of Topology ConceptCbtc topology implementation of Topology concept ... More...

#include <cbtc_topology.h>

Inherits wiselib::TopologyBase< OsModel_P >.

List of all members.

Public Types

typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Localization_P Localization
typedef OsModel_P::Timer Timer
typedef CbtcTopology< OsModel,
Localization, Radio, MAX_NODES > 
self_type
typedef CbtcTopologyMessage
< OsModel, Radio
TopologyMessage
typedef CbtcTopologyNeighbours
< OsModel, Radio, MAX_NODES > 
Neighbours
typedef OsModel_P::size_t size_type
typedef Radio::node_id_t node_id_t
typedef Radio::size_t size_t
typedef Radio::block_data_t block_data_t
typedef Radio::TxPower Power
typedef Timer::millis_t millis_t
typedef Localization::position_t position_t
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_1 (millis_t work_period)
void set_work_period_2 (millis_t work_period)
void set_alpha (double angle)
Neighborstopology ()
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 ()
Construction / Destruction
 CbtcTopology ()
 ~CbtcTopology ()
Main Control
void enable (void)
void disable (void)
Methods called by Timer
void timer_elapsed_first_phase (void *userdata)
void timer_elapsed_second_phase (void *userdata)
Methods called by RadioModel
void receive (node_id_t from, size_t len, block_data_t *data)

Detailed Description

template<typename OsModel_P, typename Localization_P, typename Radio_P, uint16_t MAX_NODES = 32>
class wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >

Cbtc topology implementation of Topology Concept

Cbtc topology implementation of Topology concept ...


Member Typedef Documentation

template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef Radio::block_data_t wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::block_data_t
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef Localization_P wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::Localization
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef Timer::millis_t wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::millis_t
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef vector_static<OsModel, node_id_t, MAX_NODES> wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::Neighbors
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef CbtcTopologyNeighbours<OsModel, Radio, MAX_NODES> wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::Neighbours
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef Radio::node_id_t wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::node_id_t
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef OsModel_P wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::OsModel
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef Localization::position_t wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::position_t
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef Radio::TxPower wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::Power
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef Radio_P wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::Radio
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef CbtcTopology<OsModel, Localization, Radio, MAX_NODES> wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::self_type
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef Radio::size_t wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::size_t
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef OsModel_P::size_t wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::size_type
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef OsModel_P::Timer wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::Timer
template<typename OsModel_P >
typedef delegate0<void> wiselib::TopologyBase< OsModel_P >::topology_delegate_t [inherited]
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
typedef CbtcTopologyMessage<OsModel, Radio> wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::TopologyMessage

Constructor & Destructor Documentation

template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES>
wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::CbtcTopology ( )
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES>
wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::~CbtcTopology ( )

Member Function Documentation

template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::destruct ( void  ) [inline]
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::disable ( void  )
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::enable ( void  )
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::init ( Localization loc,
Radio radio,
Timer timer 
) [inline]
template<typename OsModel_P >
void wiselib::TopologyBase< OsModel_P >::notify_listeners ( ) [inline, inherited]
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::receive ( node_id_t  from,
size_t  len,
block_data_t data 
)
template<typename OsModel_P >
template<class T , void(T::*)() TMethod>
void wiselib::TopologyBase< OsModel_P >::reg_listener_callback ( T *  obj_pnt) [inline, inherited]
template<typename OsModel_P >
template<void(*)() TMethod>
void wiselib::TopologyBase< OsModel_P >::reg_listener_callback ( ) [inline, inherited]
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::set_alpha ( double  angle) [inline]
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::set_startup_time ( millis_t  startup_time) [inline]
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::set_work_period_1 ( millis_t  work_period) [inline]
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::set_work_period_2 ( millis_t  work_period) [inline]
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::timer_elapsed_first_phase ( void *  userdata)
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::timer_elapsed_second_phase ( void *  userdata)
template<typename OsModel_P , typename Localization_P , typename Radio_P , uint16_t MAX_NODES = 32>
Neighbors& wiselib::CbtcTopology< OsModel_P, Localization_P, Radio_P, MAX_NODES >::topology ( ) [inline]
template<typename OsModel_P >
void wiselib::TopologyBase< OsModel_P >::unreg_listener_callback ( void  ) [inline, inherited]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines