Wiselib
Classes | Public Types | Public Member Functions | Public Attributes
wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES > Class Template Reference

#include <cbtc_topology_neighbours.h>

List of all members.

Classes

struct  ndp_struct
struct  triplet_t

Public Types

typedef OsModel_P OsModel
typedef Radio_P Radio
typedef OsModel::Debug Debug
typedef OsModel_P::size_t size_type
typedef Radio::node_id_t node_id_t
typedef struct
wiselib::CbtcTopologyNeighbours::triplet_t 
TIPA_t
typedef struct
wiselib::CbtcTopologyNeighbours::ndp_struct 
ndp_t
typedef vector_static< OsModel,
TIPA_t, MAX_NODES > 
Nodes
typedef normal_iterator
< OsModel, TIPA_t *, Nodes
Niter

Public Member Functions

 CbtcTopologyNeighbours ()
void set_id (node_id_t id)
size_type size ()
TIPA_toperator[] (size_type n)
void add_update_neighbour (node_id_t id, int p, double angle, bool asymmetric)
void delete_by_id (node_id_t id)
void delete_by_index (size_type index)
bool add_update_ndp (node_id_t id, int p, double angle)
bool ndp_update ()
void delete_by_power (int p)
void add_asymmetric_to_remove (node_id_t from)
void copy_to_NDP ()
void print_basic ()
void print_optimization (const char *s)

Public Attributes

Nodes N
vector_static< OsModel,
node_id_t, MAX_NODES > 
ATR
vector_static< OsModel, ndp_t,
MAX_NODES > 
NDP
bool first_phase_done

template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
class wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >


Member Typedef Documentation

template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
typedef OsModel::Debug wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::Debug
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
typedef struct wiselib::CbtcTopologyNeighbours::ndp_struct wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::ndp_t
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
typedef normal_iterator<OsModel, TIPA_t*, Nodes> wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::Niter
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
typedef Radio::node_id_t wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::node_id_t
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
typedef vector_static<OsModel, TIPA_t, MAX_NODES> wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::Nodes
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
typedef OsModel_P wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::OsModel
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
typedef Radio_P wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::Radio
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
typedef OsModel_P::size_t wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::size_type
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
typedef struct wiselib::CbtcTopologyNeighbours::triplet_t wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::TIPA_t

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P , uint16_t MAX_NODES>
wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::CbtcTopologyNeighbours ( )

Member Function Documentation

template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
void wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::add_asymmetric_to_remove ( node_id_t  from) [inline]
template<typename OsModel_P , typename Radio_P , uint16_t MAX_NODES>
bool wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::add_update_ndp ( node_id_t  id,
int  p,
double  angle 
)
template<typename OsModel_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::add_update_neighbour ( node_id_t  id,
int  p,
double  angle,
bool  asymmetric 
)
template<typename OsModel_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::copy_to_NDP ( ) [inline]
template<typename OsModel_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::delete_by_id ( node_id_t  id) [inline]
template<typename OsModel_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::delete_by_index ( size_type  index) [inline]
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
void wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::delete_by_power ( int  p) [inline]
template<typename OsModel_P , typename Radio_P , uint16_t MAX_NODES>
bool wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::ndp_update ( )
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
TIPA_t& wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::operator[] ( size_type  n) [inline]
template<typename OsModel_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::print_basic ( ) [inline]
template<typename OsModel_P , typename Radio_P , uint16_t MAX_NODES>
void wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::print_optimization ( const char *  s) [inline]
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
void wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::set_id ( node_id_t  id) [inline]
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
size_type wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::size ( void  ) [inline]

Member Data Documentation

template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
vector_static<OsModel, node_id_t, MAX_NODES> wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::ATR
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
bool wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::first_phase_done
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
Nodes wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::N
template<typename OsModel_P, typename Radio_P, uint16_t MAX_NODES>
vector_static<OsModel, ndp_t, MAX_NODES> wiselib::CbtcTopologyNeighbours< OsModel_P, Radio_P, MAX_NODES >::NDP

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