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

#include <isense_distance.h>

List of all members.

Public Types

enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
typedef OsModel_P OsModel
typedef isense::Os iSenseOs
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 Radio::ExtendedData ExtendedData
typedef iSenseDistanceModel
< 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

 iSenseDistanceModel (iSenseOs &os)
int init (Radio &radio)
distance_t distance (node_id_t to)

template<typename OsModel_P, typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 20>
class wiselib::iSenseDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >


Member Typedef Documentation

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

Member Enumeration Documentation

template<typename OsModel_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 20>
enum wiselib::iSenseDistanceModel::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 20>
wiselib::iSenseDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::iSenseDistanceModel ( iSenseOs os) [inline]

Member Function Documentation

template<typename OsModel_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 20>
distance_t wiselib::iSenseDistanceModel< OsModel_P, Radio_P, TABLE_SIZE >::distance ( node_id_t  to) [inline]
template<typename OsModel_P , typename Radio_P = typename OsModel_P::TxRadio, int TABLE_SIZE = 20>
int wiselib::iSenseDistanceModel< 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