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

#include <dsdv_routing_message.h>

List of all members.

Public Types

enum  data_positions { MSG_ID_POS = 0, SOURCE_POS = sizeof(message_id_t), DEST_POS = SOURCE_POS + sizeof(node_id_t), PAYLOAD_POS = DEST_POS + sizeof(node_id_t) }
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::block_data_t block_data_t
typedef Radio::node_id_t node_id_t
typedef Radio::message_id_t message_id_t

Public Member Functions

 DsdvRoutingMessage ()
message_id_t msg_id ()
void set_msg_id (message_id_t id)
node_id_t source ()
void set_source (node_id_t src)
node_id_t destination ()
void set_destination (node_id_t dest)
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::DsdvRoutingMessage< OsModel_P, Radio_P >


Member Typedef Documentation

template<typename OsModel_P , typename Radio_P >
typedef Radio::block_data_t wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::block_data_t
template<typename OsModel_P , typename Radio_P >
typedef Radio::message_id_t wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::message_id_t
template<typename OsModel_P , typename Radio_P >
typedef Radio::node_id_t wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::node_id_t
template<typename OsModel_P , typename Radio_P >
typedef OsModel_P wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::OsModel
template<typename OsModel_P , typename Radio_P >
typedef Radio_P wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::Radio

Member Enumeration Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename OsModel_P , typename Radio_P >
size_t wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::buffer_size ( ) [inline]
template<typename OsModel_P , typename Radio_P >
node_id_t wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::destination ( ) [inline]
template<typename OsModel_P , typename Radio_P >
message_id_t wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::msg_id ( ) [inline]
template<typename OsModel_P , typename Radio_P >
uint8_t* wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::payload ( ) [inline]
template<typename OsModel_P , typename Radio_P >
uint8_t wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::payload_size ( ) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::set_destination ( node_id_t  dest) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::set_msg_id ( message_id_t  id) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::set_payload ( uint8_t  len,
uint8_t buf 
) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::DsdvRoutingMessage< OsModel_P, Radio_P >::set_source ( node_id_t  src) [inline]
template<typename OsModel_P , typename Radio_P >
node_id_t wiselib::DsdvRoutingMessage< 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