Wiselib
Classes | Public Types | Public Member Functions
wiselib::OverlappingIterator< OsModel_P > Class Template Reference

Overlapping iterator module. More...

#include <overlapping_it.h>

List of all members.

Classes

struct  AC_table_entry
struct  CH_table_entry

Public Types

typedef OsModel_P OsModel
typedef OsModel::Radio Radio
typedef OsModel::Timer Timer
typedef OsModel::Debug Debug
typedef OverlappingIterator
< OsModel_P > 
self_t
typedef int cluster_id_t
typedef Radio::node_id_t node_id_t
typedef Radio::block_data_t block_data_t

Public Member Functions

 OverlappingIterator ()
 ~OverlappingIterator ()
void init (Radio &radio, Timer &timer, Debug &debug)
void set_parent (node_id_t parent, cluster_id_t cluster_id_)
void set_hops (int hops, cluster_id_t cluster_id)
size_t hops (cluster_id_t cluster_id=0)
void set_node_type (int node_type)
void set_id (node_id_t id)
void clear_neighbors ()
node_id_t parent (cluster_id_t cluster_id_)
cluster_id_t cluster_id (size_t i)
int node_type ()
void get_join_request_payload (block_data_t *mess, cluster_id_t cluster_id)
size_t get_payload_length (int type, cluster_id_t cluster_id)
void enable (void)
void disable (void)
void node_joined (node_id_t node)
bool add_cluster (cluster_id_t cluster_id, int hops, node_id_t previous)
size_t clusters_joined ()
void add_neighbor (node_id_t node_id)
node_id_t next_neighbor ()
bool eat_request (size_t len, block_data_t *mess)
void present_neighbors ()

Detailed Description

template<typename OsModel_P>
class wiselib::OverlappingIterator< OsModel_P >

Overlapping iterator module.


Member Typedef Documentation

template<typename OsModel_P >
typedef Radio::block_data_t wiselib::OverlappingIterator< OsModel_P >::block_data_t
template<typename OsModel_P >
typedef int wiselib::OverlappingIterator< OsModel_P >::cluster_id_t
template<typename OsModel_P >
typedef OsModel::Debug wiselib::OverlappingIterator< OsModel_P >::Debug
template<typename OsModel_P >
typedef Radio::node_id_t wiselib::OverlappingIterator< OsModel_P >::node_id_t
template<typename OsModel_P >
typedef OsModel_P wiselib::OverlappingIterator< OsModel_P >::OsModel
template<typename OsModel_P >
typedef OsModel::Radio wiselib::OverlappingIterator< OsModel_P >::Radio
template<typename OsModel_P >
typedef OverlappingIterator<OsModel_P> wiselib::OverlappingIterator< OsModel_P >::self_t
template<typename OsModel_P >
typedef OsModel::Timer wiselib::OverlappingIterator< OsModel_P >::Timer

Constructor & Destructor Documentation

template<typename OsModel_P >
wiselib::OverlappingIterator< OsModel_P >::OverlappingIterator ( ) [inline]
template<typename OsModel_P >
wiselib::OverlappingIterator< OsModel_P >::~OverlappingIterator ( ) [inline]

Member Function Documentation

template<typename OsModel_P >
bool wiselib::OverlappingIterator< OsModel_P >::add_cluster ( cluster_id_t  cluster_id,
int  hops,
node_id_t  previous 
) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::add_neighbor ( node_id_t  node_id) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::clear_neighbors ( ) [inline]
template<typename OsModel_P >
cluster_id_t wiselib::OverlappingIterator< OsModel_P >::cluster_id ( size_t  i) [inline]
template<typename OsModel_P >
size_t wiselib::OverlappingIterator< OsModel_P >::clusters_joined ( ) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::disable ( void  ) [inline]
template<typename OsModel_P >
bool wiselib::OverlappingIterator< OsModel_P >::eat_request ( size_t  len,
block_data_t mess 
) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::enable ( void  ) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::get_join_request_payload ( block_data_t mess,
cluster_id_t  cluster_id 
) [inline]
template<typename OsModel_P >
size_t wiselib::OverlappingIterator< OsModel_P >::get_payload_length ( int  type,
cluster_id_t  cluster_id 
) [inline]
template<typename OsModel_P >
size_t wiselib::OverlappingIterator< OsModel_P >::hops ( cluster_id_t  cluster_id = 0) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::init ( Radio radio,
Timer timer,
Debug debug 
) [inline]
template<typename OsModel_P >
node_id_t wiselib::OverlappingIterator< OsModel_P >::next_neighbor ( ) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::node_joined ( node_id_t  node) [inline]
template<typename OsModel_P >
int wiselib::OverlappingIterator< OsModel_P >::node_type ( void  ) [inline]
template<typename OsModel_P >
node_id_t wiselib::OverlappingIterator< OsModel_P >::parent ( cluster_id_t  cluster_id_) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::present_neighbors ( ) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::set_hops ( int  hops,
cluster_id_t  cluster_id 
) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::set_id ( node_id_t  id) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::set_node_type ( int  node_type) [inline]
template<typename OsModel_P >
void wiselib::OverlappingIterator< OsModel_P >::set_parent ( node_id_t  parent,
cluster_id_t  cluster_id_ 
) [inline]

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