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

Normal iterator module. More...

#include <normal_it.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef OsModel::Radio Radio
typedef OsModel::Timer Timer
typedef OsModel::Debug Debug
typedef NormalIterator< 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
typedef wiselib::vector_static
< OsModel, node_id_t, 100 > 
vector_t

Public Member Functions

 NormalIterator ()
 ~NormalIterator ()
void init (Radio &radio, Timer &timer, Debug &debug)
void set_parent (node_id_t parent)
void set_cluster_id (cluster_id_t cluster_id)
void set_hops (int hops)
void set_node_type (int node_type)
void set_id (node_id_t id)
void clear_any_joined ()
void clear_neighbors ()
void did_joined ()
cluster_id_t cluster_id (void)
node_id_t parent (void)
int node_type ()
bool any_joined ()
void enable (void)
void disable (void)
void node_joined (node_id_t node)
void node_not_joined (node_id_t node)
void drop_node (node_id_t node)
int node_count (int type)
int get_intra_nodes (node_id_t *position)
int get_outer_nodes (node_id_t *position)
void add_neighbor (node_id_t node_id)
node_id_t next_neighbor ()
void get_resume_payload (block_data_t *mess)
size_t get_payload_length (int type)
void present_neighbors ()

Detailed Description

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

Normal iterator module.


Member Typedef Documentation

template<typename OsModel_P >
typedef Radio::block_data_t wiselib::NormalIterator< OsModel_P >::block_data_t
template<typename OsModel_P >
typedef int wiselib::NormalIterator< OsModel_P >::cluster_id_t
template<typename OsModel_P >
typedef OsModel::Debug wiselib::NormalIterator< OsModel_P >::Debug
template<typename OsModel_P >
typedef Radio::node_id_t wiselib::NormalIterator< OsModel_P >::node_id_t
template<typename OsModel_P >
typedef OsModel_P wiselib::NormalIterator< OsModel_P >::OsModel
template<typename OsModel_P >
typedef OsModel::Radio wiselib::NormalIterator< OsModel_P >::Radio
template<typename OsModel_P >
typedef NormalIterator<OsModel_P> wiselib::NormalIterator< OsModel_P >::self_t
template<typename OsModel_P >
typedef OsModel::Timer wiselib::NormalIterator< OsModel_P >::Timer
template<typename OsModel_P >
typedef wiselib::vector_static<OsModel, node_id_t, 100 > wiselib::NormalIterator< OsModel_P >::vector_t

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::add_neighbor ( node_id_t  node_id) [inline]
template<typename OsModel_P >
bool wiselib::NormalIterator< OsModel_P >::any_joined ( ) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::clear_any_joined ( ) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::clear_neighbors ( ) [inline]
template<typename OsModel_P >
cluster_id_t wiselib::NormalIterator< OsModel_P >::cluster_id ( void  ) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::did_joined ( ) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::disable ( void  ) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::drop_node ( node_id_t  node) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::enable ( void  ) [inline]
template<typename OsModel_P >
int wiselib::NormalIterator< OsModel_P >::get_intra_nodes ( node_id_t position) [inline]
template<typename OsModel_P >
int wiselib::NormalIterator< OsModel_P >::get_outer_nodes ( node_id_t position) [inline]
template<typename OsModel_P >
size_t wiselib::NormalIterator< OsModel_P >::get_payload_length ( int  type) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::get_resume_payload ( block_data_t mess) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::init ( Radio radio,
Timer timer,
Debug debug 
) [inline]
template<typename OsModel_P >
node_id_t wiselib::NormalIterator< OsModel_P >::next_neighbor ( ) [inline]
template<typename OsModel_P >
int wiselib::NormalIterator< OsModel_P >::node_count ( int  type) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::node_joined ( node_id_t  node) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::node_not_joined ( node_id_t  node) [inline]
template<typename OsModel_P >
int wiselib::NormalIterator< OsModel_P >::node_type ( void  ) [inline]
template<typename OsModel_P >
node_id_t wiselib::NormalIterator< OsModel_P >::parent ( void  ) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::present_neighbors ( ) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::set_cluster_id ( cluster_id_t  cluster_id) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::set_hops ( int  hops) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::set_id ( node_id_t  id) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::set_node_type ( int  node_type) [inline]
template<typename OsModel_P >
void wiselib::NormalIterator< OsModel_P >::set_parent ( node_id_t  parent) [inline]

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