Fronts iterator module.
More...
#include <fronts_it.h>
List of all members.
Public Types |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef OsModel::Timer | Timer |
typedef OsModel::Debug | Debug |
typedef FrontsIterator
< OsModel_P, Radio_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, 10 > | vector_t |
typedef wiselib::pair
< node_id_t, cluster_id_t > | gateway_vector_entry_t |
typedef wiselib::vector_static
< OsModel,
gateway_vector_entry_t, 10 > | gateway_vector_t |
typedef wiselib::vector_static
< OsModel, wiselib::pair
< node_id_t, node_id_t >, 20 > | tree_childs_t |
Public Member Functions |
| FrontsIterator () |
| ~FrontsIterator () |
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 | clear_any_joined () |
void | did_joined () |
cluster_id_t | cluster_id (void) |
node_id_t | parent (void) |
int | hops () |
int | node_type () |
bool | any_joined () |
void | reset (void) |
void | node_joined (node_id_t node) |
void | add_resume (node_id_t from, node_id_t originator) |
node_id_t | get_child (node_id_t target) |
void | node_not_joined (node_id_t node, cluster_id_t cluster) |
bool | is_gateway () |
void | drop_node (node_id_t node) |
int | childs_count () |
void | childs (node_id_t *list) |
int | get_outer_nodes (node_id_t *position) |
ResumeClusterMsg< OsModel, Radio > | get_resume_payload () |
void | present_neighbors () |
Public Attributes |
vector_t | cluster_neighbors_ |
gateway_vector_t | non_cluster_neighbors_ |
tree_childs_t | tree_childs |
Detailed Description
template<typename OsModel_P, typename Radio_P>
class wiselib::FrontsIterator< OsModel_P, Radio_P >
Fronts iterator module.
Member Typedef Documentation
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
Constructor & Destructor Documentation
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
Member Function Documentation
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
Member Data Documentation
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
template<typename OsModel_P, typename Radio_P>
The documentation for this class was generated from the following file:
- wiselib.testing/algorithms/cluster/modules/it/fronts_it.h