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

#include <dsr_routing_msg.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::message_id_t message_id_t
typedef Radio::block_data_t block_data_t
typedef Radio::node_id_t node_id_t
typedef Path_P Path
typedef Path::iterator PathIterator

Public Member Functions

 DsrRoutingMessage ()
 DsrRoutingMessage (uint8_t message_id, uint16_t source, uint16_t destination, uint8_t path_idx, uint8_t l, uint8_t *d)
message_id_t msg_id ()
void set_msg_id (message_id_t id)
uint8_t path_idx ()
void set_path_idx (uint8_t idx)
void dec_path_idx (void)
void inc_path_idx (void)
node_id_t source ()
void set_source (node_id_t src)
node_id_t destination ()
void set_destination (node_id_t dest)
uint8_t entry_cnt ()
void set_entry_cnt (uint8_t entry_cnt)
void set_path (Path &p)
void path (Path &p)
uint8_t payload_size ()
void set_payload_size (uint8_t size)
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, typename Path_P>
class wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >


Member Typedef Documentation

template<typename OsModel_P, typename Radio_P, typename Path_P>
typedef Radio::block_data_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::block_data_t
template<typename OsModel_P, typename Radio_P, typename Path_P>
typedef Radio::message_id_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::message_id_t
template<typename OsModel_P, typename Radio_P, typename Path_P>
typedef Radio::node_id_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::node_id_t
template<typename OsModel_P, typename Radio_P, typename Path_P>
typedef OsModel_P wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::OsModel
template<typename OsModel_P, typename Radio_P, typename Path_P>
typedef Path_P wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::Path
template<typename OsModel_P, typename Radio_P, typename Path_P>
typedef Path::iterator wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::PathIterator
template<typename OsModel_P, typename Radio_P, typename Path_P>
typedef Radio_P wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::Radio

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P , typename Path_P >
wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::DsrRoutingMessage ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::DsrRoutingMessage ( uint8_t  message_id,
uint16_t  source,
uint16_t  destination,
uint8_t  path_idx,
uint8_t  l,
uint8_t d 
) [inline]

Member Function Documentation

template<typename OsModel_P, typename Radio_P, typename Path_P>
size_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::dec_path_idx ( void  ) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
node_id_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::destination ( ) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
uint8_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::entry_cnt ( ) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::inc_path_idx ( void  ) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
message_id_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::msg_id ( ) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::path ( Path p) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
uint8_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::path_idx ( ) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
block_data_t* wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::payload ( void  ) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
uint8_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::payload_size ( ) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::set_destination ( node_id_t  dest) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::set_entry_cnt ( uint8_t  entry_cnt) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::set_msg_id ( message_id_t  id) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::set_path ( Path p) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::set_path_idx ( uint8_t  idx) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::set_payload ( uint8_t  len,
block_data_t data 
) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::set_payload_size ( uint8_t  size) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
void wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_P >::set_source ( node_id_t  src) [inline]
template<typename OsModel_P, typename Radio_P, typename Path_P>
node_id_t wiselib::DsrRoutingMessage< OsModel_P, Radio_P, Path_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