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

Fronts join decision module. More...

#include <fronts_jd.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef Radio_P Radio
typedef OsModel::Debug Debug
typedef Radio::node_id_t node_id_t
typedef Radio::block_data_t block_data_t
typedef node_id_t cluster_id_t

Public Member Functions

 FrontsJoinDecision ()
 ~FrontsJoinDecision ()
void init (Radio &radio, Debug &debug)
void set_cluster_id (cluster_id_t cluster_id)
void set_maxhops (int hops)
void set_hops (int hops)
int hops ()
cluster_id_t cluster_id (void)
JoinClusterMsg< OsModel, Radioget_join_request_payload ()
JoinAccClusterMsg< OsModel, Radioget_join_accept_payload ()
bool join (uint8_t *payload, uint8_t length)
void reset ()

Detailed Description

template<typename OsModel_P, typename Radio_P>
class wiselib::FrontsJoinDecision< OsModel_P, Radio_P >

Fronts join decision module.


Member Typedef Documentation

template<typename OsModel_P, typename Radio_P>
typedef Radio::block_data_t wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::block_data_t
template<typename OsModel_P, typename Radio_P>
typedef node_id_t wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::cluster_id_t
template<typename OsModel_P, typename Radio_P>
typedef OsModel::Debug wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::Debug
template<typename OsModel_P, typename Radio_P>
typedef Radio::node_id_t wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::node_id_t
template<typename OsModel_P, typename Radio_P>
typedef OsModel_P wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::OsModel
template<typename OsModel_P, typename Radio_P>
typedef Radio_P wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::Radio

Constructor & Destructor Documentation

template<typename OsModel_P, typename Radio_P>
wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::FrontsJoinDecision ( ) [inline]
template<typename OsModel_P, typename Radio_P>
wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::~FrontsJoinDecision ( ) [inline]

Member Function Documentation

template<typename OsModel_P, typename Radio_P>
cluster_id_t wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::cluster_id ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
JoinAccClusterMsg<OsModel, Radio> wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::get_join_accept_payload ( ) [inline]
template<typename OsModel_P, typename Radio_P>
JoinClusterMsg<OsModel, Radio> wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::get_join_request_payload ( ) [inline]
template<typename OsModel_P, typename Radio_P>
int wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::hops ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::init ( Radio radio,
Debug debug 
) [inline]
template<typename OsModel_P, typename Radio_P>
bool wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::join ( uint8_t payload,
uint8_t  length 
) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::reset ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::set_cluster_id ( cluster_id_t  cluster_id) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::set_hops ( int  hops) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::FrontsJoinDecision< OsModel_P, Radio_P >::set_maxhops ( int  hops) [inline]

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