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

#include <tree_routing_message.h>

List of all members.

Public Types

enum  data_positions { MSG_ID_POS = 0, SOURCE_POS = 1, PAYLOAD_POS = 3 }
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::block_data_t block_data_t

Public Member Functions

 TreeRoutingMessage ()
 TreeRoutingMessage (uint8_t id, uint16_t src)
uint8_t msg_id ()
void set_msg_id (uint8_t id)
uint8_t payload_size ()
uint16_t source ()
void set_source (uint16_t src)
void set_payload (uint8_t len, block_data_t *data)
block_data_tpayload (void)
size_t buffer_size ()

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


Member Typedef Documentation

template<typename OsModel_P , typename Radio_P >
typedef Radio::block_data_t wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::block_data_t
template<typename OsModel_P , typename Radio_P >
typedef OsModel_P wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::OsModel
template<typename OsModel_P , typename Radio_P >
typedef Radio_P wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::Radio

Member Enumeration Documentation

template<typename OsModel_P , typename Radio_P >
enum wiselib::TreeRoutingMessage::data_positions
Enumerator:
MSG_ID_POS 
SOURCE_POS 
PAYLOAD_POS 

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P >
wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::TreeRoutingMessage ( ) [inline]
template<typename OsModel_P , typename Radio_P >
wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::TreeRoutingMessage ( uint8_t  id,
uint16_t  src 
) [inline]

Member Function Documentation

template<typename OsModel_P , typename Radio_P >
size_t wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P , typename Radio_P >
uint8_t wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::msg_id ( ) [inline]
template<typename OsModel_P , typename Radio_P >
block_data_t* wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::payload ( void  ) [inline]
template<typename OsModel_P , typename Radio_P >
uint8_t wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::payload_size ( ) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::set_msg_id ( uint8_t  id) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::set_payload ( uint8_t  len,
block_data_t data 
) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::set_source ( uint16_t  src) [inline]
template<typename OsModel_P , typename Radio_P >
uint16_t wiselib::TreeRoutingMessage< OsModel_P, Radio_P >::source ( ) [inline]

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