Wiselib
Public Types | Public Member Functions
wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE > Class Template Reference

#include <contiki_distance.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::node_id_t node_id_t
typedef Radio::block_data_t block_data_t
typedef Radio::size_t size_t
typedef ContikiDistanceModel
< OsModel, Radio, TABLE_SIZE > 
self_type
typedef self_typeself_pointer_t
typedef double distance_t
typedef
StaticArrayRoutingTable
< OsModel, Radio, TABLE_SIZE,
distance_t
DistanceMap
typedef DistanceMap::iterator DistanceMapIterator

Public Member Functions

 ContikiDistanceModel ()
void init (Radio &radio)
void enable ()
void disable ()
distance_t distance (node_id_t to)

template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
class wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >


Member Typedef Documentation

template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef Radio::block_data_t wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::block_data_t
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef double wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::distance_t
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef StaticArrayRoutingTable<OsModel, Radio, TABLE_SIZE, distance_t> wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::DistanceMap
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef DistanceMap::iterator wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::DistanceMapIterator
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef Radio::node_id_t wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::node_id_t
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef OsModel_P wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::OsModel
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef Radio_P wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::Radio
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef self_type* wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::self_pointer_t
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef ContikiDistanceModel<OsModel, Radio, TABLE_SIZE> wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::self_type
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
typedef Radio::size_t wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::size_t

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::ContikiDistanceModel ( ) [inline]

Member Function Documentation

template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
void wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::disable ( void  ) [inline]
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
distance_t wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::distance ( node_id_t  to) [inline]
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
void wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::enable ( void  ) [inline]
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, int TABLE_SIZE = 20>
void wiselib::ContikiDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::init ( Radio radio) [inline]

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