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

#include <join_message.h>

List of all members.

Public Types

enum  data_positions { MSG_ID_POS = 0, CLUSTER_ID_POS = sizeof(message_id_t), HOPS_POS = sizeof(message_id_t) + sizeof(cluster_id_t) }
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::node_id_t node_id_t
typedef Radio::size_t size_t
typedef Radio::block_data_t block_data_t
typedef Radio::message_id_t message_id_t
typedef node_id_t cluster_id_t

Public Member Functions

 JoinClusterMsg ()
 ~JoinClusterMsg ()
message_id_t msg_id ()
void set_msg_id (message_id_t id)
cluster_id_t cluster_id ()
void set_cluster_id (cluster_id_t cluster_id)
int hops ()
void set_hops (int hops)
size_t length ()

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


Member Typedef Documentation

template<typename OsModel_P, typename Radio_P>
typedef Radio::block_data_t wiselib::JoinClusterMsg< OsModel_P, Radio_P >::block_data_t
template<typename OsModel_P, typename Radio_P>
typedef node_id_t wiselib::JoinClusterMsg< OsModel_P, Radio_P >::cluster_id_t
template<typename OsModel_P, typename Radio_P>
typedef Radio::message_id_t wiselib::JoinClusterMsg< OsModel_P, Radio_P >::message_id_t
template<typename OsModel_P, typename Radio_P>
typedef Radio::node_id_t wiselib::JoinClusterMsg< OsModel_P, Radio_P >::node_id_t
template<typename OsModel_P, typename Radio_P>
typedef OsModel_P wiselib::JoinClusterMsg< OsModel_P, Radio_P >::OsModel
template<typename OsModel_P, typename Radio_P>
typedef Radio_P wiselib::JoinClusterMsg< OsModel_P, Radio_P >::Radio
template<typename OsModel_P, typename Radio_P>
typedef Radio::size_t wiselib::JoinClusterMsg< OsModel_P, Radio_P >::size_t

Member Enumeration Documentation

template<typename OsModel_P, typename Radio_P>
enum wiselib::JoinClusterMsg::data_positions
Enumerator:
MSG_ID_POS 
CLUSTER_ID_POS 
HOPS_POS 

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename OsModel_P, typename Radio_P>
cluster_id_t wiselib::JoinClusterMsg< OsModel_P, Radio_P >::cluster_id ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
int wiselib::JoinClusterMsg< OsModel_P, Radio_P >::hops ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
size_t wiselib::JoinClusterMsg< OsModel_P, Radio_P >::length ( ) [inline]
template<typename OsModel_P, typename Radio_P>
message_id_t wiselib::JoinClusterMsg< OsModel_P, Radio_P >::msg_id ( ) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::JoinClusterMsg< OsModel_P, Radio_P >::set_cluster_id ( cluster_id_t  cluster_id) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::JoinClusterMsg< OsModel_P, Radio_P >::set_hops ( int  hops) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::JoinClusterMsg< OsModel_P, Radio_P >::set_msg_id ( message_id_t  id) [inline]

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