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

#include <static_routing_message.h>

List of all members.

Public Types

enum  data_positions { SOURCE_ID_POS = sizeof(message_id_t), DESTINATION_POS = SOURCE_ID_POS + sizeof(node_id_t), PAYLOAD_POS = DESTINATION_POS + sizeof(node_id_t) }
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::node_id_t node_id_t
typedef Radio::block_data_t block_data_t
typedef Radio::size_t size_t
typedef Radio::message_id_t message_id_t

Public Member Functions

 StaticRoutingMessage ()
message_id_t msg_id ()
void set_msg_id (message_id_t id)
node_id_t source_id ()
void set_source_id (node_id_t id)
node_id_t destination ()
void set_destination (node_id_t dest)
size_t payload_size ()
block_data_tpayload ()
void set_payload (size_t len, block_data_t *buf)
size_t buffer_size ()

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


Member Typedef Documentation

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

Member Enumeration Documentation

template<typename OsModel_P , typename Radio_P >
enum wiselib::StaticRoutingMessage::data_positions
Enumerator:
SOURCE_ID_POS 
DESTINATION_POS 
PAYLOAD_POS 

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename OsModel_P , typename Radio_P >
size_t wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P , typename Radio_P >
node_id_t wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::destination ( ) [inline]
template<typename OsModel_P , typename Radio_P >
message_id_t wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::msg_id ( ) [inline]
template<typename OsModel_P , typename Radio_P >
block_data_t* wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::payload ( void  ) [inline]
template<typename OsModel_P , typename Radio_P >
size_t wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::payload_size ( ) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::set_destination ( node_id_t  dest) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::set_msg_id ( message_id_t  id) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::set_payload ( size_t  len,
block_data_t buf 
) [inline]
template<typename OsModel_P , typename Radio_P >
void wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::set_source_id ( node_id_t  id) [inline]
template<typename OsModel_P , typename Radio_P >
node_id_t wiselib::StaticRoutingMessage< OsModel_P, Radio_P >::source_id ( ) [inline]

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