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

#include <tora_routing_message.h>

List of all members.

Public Types

enum  data_positions {
  MSG_ID_POS = 0, NEXT_NOD_POS = 2, DEST_POS = 4, HEIGHT_POS = 6,
  PAYLOAD_POS = 16
}
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::block_data_t block_data_t

Public Member Functions

 ToraRoutingMessage ()
uint8_t msg_id ()
void set_msg_id (uint8_t id)
uint16_t destination ()
void set_destination (uint16_t dest)
uint16_t next_node ()
void set_next_node (uint16_t next_node)
height get_height ()
void set_height (height H)
uint8_t payload_size ()
uint8_tpayload ()
void set_payload (uint8_t len, uint8_t *buf)
size_t buffer_size ()

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


Member Typedef Documentation

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

Member Enumeration Documentation

template<typename OsModel_P , typename Radio_P >
enum wiselib::ToraRoutingMessage::data_positions
Enumerator:
MSG_ID_POS 
NEXT_NOD_POS 
DEST_POS 
HEIGHT_POS 
PAYLOAD_POS 

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename OsModel_P , typename Radio_P >
size_t wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P , typename Radio_P >
uint16_t wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::destination ( ) [inline]
template<typename OsModel_P , typename Radio_P >
height wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::get_height ( ) [inline]
template<typename OsModel_P , typename Radio_P >
uint8_t wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::msg_id ( ) [inline]
template<typename OsModel_P , typename Radio_P >
uint16_t wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::next_node ( ) [inline]
template<typename OsModel_P , typename Radio_P >
uint8_t* wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::payload ( void  ) [inline]
template<typename OsModel_P , typename Radio_P >
uint8_t wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::payload_size ( ) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::set_destination ( uint16_t  dest) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::set_height ( height  H) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::set_msg_id ( uint8_t  id) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::set_next_node ( uint16_t  next_node) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::ToraRoutingMessage< OsModel_P, Radio_P >::set_payload ( uint8_t  len,
uint8_t buf 
) [inline]

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