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

Moca join decision module. More...

#include <moca_jd.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef OsModel::Radio 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

 MocaJoinDecision ()
 ~MocaJoinDecision ()
void init (Radio &radio, Debug &debug)
void set_id (node_id_t id)
void set_maxhops (int maxhops)
void get_join_request_payload (block_data_t *mess)
size_t get_payload_length (int type)
bool join (uint8_t *payload, uint8_t length)
void enable ()
void disable ()

Detailed Description

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

Moca join decision module.


Member Typedef Documentation

template<typename OsModel_P >
typedef Radio::block_data_t wiselib::MocaJoinDecision< OsModel_P >::block_data_t
template<typename OsModel_P >
typedef node_id_t wiselib::MocaJoinDecision< OsModel_P >::cluster_id_t
template<typename OsModel_P >
typedef OsModel::Debug wiselib::MocaJoinDecision< OsModel_P >::Debug
template<typename OsModel_P >
typedef Radio::node_id_t wiselib::MocaJoinDecision< OsModel_P >::node_id_t
template<typename OsModel_P >
typedef OsModel_P wiselib::MocaJoinDecision< OsModel_P >::OsModel
template<typename OsModel_P >
typedef OsModel::Radio wiselib::MocaJoinDecision< OsModel_P >::Radio

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename OsModel_P >
void wiselib::MocaJoinDecision< OsModel_P >::disable ( void  ) [inline]
template<typename OsModel_P >
void wiselib::MocaJoinDecision< OsModel_P >::enable ( void  ) [inline]
template<typename OsModel_P >
void wiselib::MocaJoinDecision< OsModel_P >::get_join_request_payload ( block_data_t mess) [inline]
template<typename OsModel_P >
size_t wiselib::MocaJoinDecision< OsModel_P >::get_payload_length ( int  type) [inline]
template<typename OsModel_P >
void wiselib::MocaJoinDecision< OsModel_P >::init ( Radio radio,
Debug debug 
) [inline]
template<typename OsModel_P >
bool wiselib::MocaJoinDecision< OsModel_P >::join ( uint8_t payload,
uint8_t  length 
) [inline]
template<typename OsModel_P >
void wiselib::MocaJoinDecision< OsModel_P >::set_id ( node_id_t  id) [inline]
template<typename OsModel_P >
void wiselib::MocaJoinDecision< OsModel_P >::set_maxhops ( int  maxhops) [inline]

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