Wiselib
Public Types | Public Member Functions | Static Public Attributes
wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P > Class Template Reference

Flss topology implementation of Topology ConceptFlss topology implementation of Topology concept ... More...

#include <flss_topology_control.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 Localization::float_t float_t
typedef OsModel::Debug Debug
typedef FlssTopology
< OsModel_P, K, Localization_P,
MAX_NODES, Radio_P, Timer_P > 
self_type
typedef LmstTopologyMessage
< OsModel, Radio, float_t
TopologyMessage
typedef Localization::position_t Position
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 pair< float_t, node_id_tPPI
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)
Neighborstopology ()
float_t range_assignment ()
void init (Radio &radio, Timer &timer, Debug &debug)
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
 FlssTopology ()
 ~FlssTopology ()
Main Control
void enable (void)
void disable (void)
Methods called by Timer
void timer_elapsed (void *userdata)
Methods called by RadioModel
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, uint16_t K, typename Localization_P, uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
class wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >

Flss topology implementation of Topology Concept

Flss topology implementation of Topology concept ...


Member Typedef Documentation

template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef Radio::block_data_t wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::block_data_t
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef OsModel::Debug wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::Debug
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef Localization::float_t wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::float_t
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef Localization_P wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::Localization
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef Timer::millis_t wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::millis_t
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef vector_static<OsModel, node_id_t, MAX_NODES> wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::Neighbors
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef Radio::node_id_t wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::node_id_t
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef OsModel_P wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::OsModel
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef Localization::position_t wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::Position
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef pair<float_t, node_id_t> wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::PPI
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef Radio_P wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::Radio
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef FlssTopology<OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P> wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::self_type
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef Radio::size_t wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::size_t
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef Timer_P wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::Timer
template<typename OsModel_P >
typedef delegate0<void> wiselib::TopologyBase< OsModel_P >::topology_delegate_t [inherited]
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
typedef LmstTopologyMessage<OsModel, Radio, float_t> wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::TopologyMessage

Constructor & Destructor Documentation

template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::FlssTopology ( )
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::~FlssTopology ( )

Member Function Documentation

template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
void wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::destruct ( void  ) [inline]
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
void wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::disable ( void  )
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
void wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::enable ( void  )
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
void wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::init ( Radio radio,
Timer timer,
Debug debug 
) [inline]
template<typename OsModel_P >
void wiselib::TopologyBase< OsModel_P >::notify_listeners ( ) [inline, inherited]
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
float_t wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::range_assignment ( ) [inline]
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
void wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::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 , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
void wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::set_startup_time ( millis_t  startup_time) [inline]
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
void wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::set_work_period ( millis_t  work_period) [inline]
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P , typename Timer_P >
void wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::timer_elapsed ( void *  userdata)
template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
Neighbors& wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::topology ( ) [inline]
template<typename OsModel_P >
void wiselib::TopologyBase< OsModel_P >::unreg_listener_callback ( void  ) [inline, inherited]

Member Data Documentation

template<typename OsModel_P , uint16_t K, typename Localization_P , uint16_t MAX_NODES, typename Radio_P = typename OsModel_P::Radio, typename Timer_P = typename OsModel_P::Timer>
const uint8_t wiselib::FlssTopology< OsModel_P, K, Localization_P, MAX_NODES, Radio_P, Timer_P >::POSITION_SIZE = sizeof( Position ) [static]

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