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

#include <lqi_distance.h>

List of all members.

Public Types

enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Debug_P Debug
typedef Radio::node_id_t node_id_t
typedef Radio::block_data_t block_data_t
typedef Radio::size_t size_t
typedef Radio::ExtendedData ExtendedData
typedef Arithmatic_P Arithmatic
typedef LQIDistanceModel
< OsModel, Debug, Arithmatic,
Radio, TABLE_SIZE > 
self_type
typedef self_typeself_pointer_t
typedef uint8_t lqi_t
typedef
StaticArrayRoutingTable
< OsModel, Radio, TABLE_SIZE,
Arithmatic
DistanceMap
typedef MapStaticVector
< OsModel_P, lqi_t, Arithmatic,
LQI_TABLE_SIZE > 
LQIMap
typedef DistanceMap::iterator DistanceMapIterator
typedef LQIMap::iterator LQIMapIterator

Public Member Functions

 LQIDistanceModel ()
 ~LQIDistanceModel ()
int init (Radio *radio, Debug *debug, LQIMap *lqimap)
Arithmatic distance (node_id_t to)

template<typename OsModel_P, typename Debug_P, typename Arithmatic_P, typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
class wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >


Member Typedef Documentation

template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef Arithmatic_P wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::Arithmatic
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef Radio::block_data_t wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::block_data_t
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef Debug_P wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::Debug
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef StaticArrayRoutingTable<OsModel, Radio, TABLE_SIZE, Arithmatic> wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::DistanceMap
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef DistanceMap::iterator wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::DistanceMapIterator
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef Radio::ExtendedData wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::ExtendedData
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef uint8_t wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::lqi_t
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef MapStaticVector<OsModel_P, lqi_t , Arithmatic, LQI_TABLE_SIZE> wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::LQIMap
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef LQIMap::iterator wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::LQIMapIterator
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef Radio::node_id_t wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::node_id_t
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef OsModel_P wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::OsModel
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef Radio_P wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::Radio
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef self_type* wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::self_pointer_t
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef LQIDistanceModel<OsModel, Debug, Arithmatic, Radio,TABLE_SIZE> wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::self_type
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
typedef Radio::size_t wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::size_t

Member Enumeration Documentation

template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
enum wiselib::LQIDistanceModel::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Constructor & Destructor Documentation

template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::LQIDistanceModel ( ) [inline]
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::~LQIDistanceModel ( ) [inline]

Member Function Documentation

template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
Arithmatic wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::distance ( node_id_t  to) [inline]
template<typename OsModel_P , typename Debug_P , typename Arithmatic_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 60>
int wiselib::LQIDistanceModel< OsModel_P, Debug_P, Arithmatic_P, Radio_P, TABLE_SIZE >::init ( Radio radio,
Debug debug,
LQIMap lqimap 
) [inline]

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