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

#include <aodv_route_discovery_msg.h>

List of all members.

Public Types

enum  data_positions {
  MSG_TYPE_POS = 0, BCAST_ID_POS = 1, HOPS_POS = 2, SRC_SEQ_POS = 3,
  DES_SEQ_POS = 5, SOURCE_POS = 7, DEST_POS = 9, NHOP_POS = 11,
  PAYLOAD_POS = 12
}
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::block_data_t block_data_t
typedef Path_P Path

Public Member Functions

 AODVRouteDiscoveryMessage ()
 AODVRouteDiscoveryMessage (uint8_t msg_type, uint8_t bcast_id, uint8_t hop_cnt, uint16_t source_seq_nr, uint16_t destination_seq_nr, uint16_t source, uint16_t destination, uint8_t next_hop)
uint8_t msg_type ()
void set_msg_type (uint8_t type)
uint8_t bcast_id ()
void set_bcast_id (uint8_t bcast_id)
uint8_t hop_cnt ()
void set_hop_cnt (uint8_t hop_cnt)
uint16_t source_sequence_nr ()
void set_source_sequence_nr (uint16_t src_seq)
uint16_t destination_sequence_nr ()
void set_destination_sequence_nr (uint16_t des_seq)
uint16_t source ()
void set_source (uint16_t src)
uint16_t destination ()
void set_destination (uint16_t dest)
uint8_t next_hop ()
void set_next_hop (uint8_t next_hop)
uint8_t payload_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::AODVRouteDiscoveryMessage< 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::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::block_data_t
template<typename OsModel_P , typename Radio_P , typename Path_P >
typedef OsModel_P wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::OsModel
template<typename OsModel_P , typename Radio_P , typename Path_P >
typedef Path_P wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::Path
template<typename OsModel_P , typename Radio_P , typename Path_P >
typedef Radio_P wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::Radio

Member Enumeration Documentation

template<typename OsModel_P , typename Radio_P , typename Path_P >
enum wiselib::AODVRouteDiscoveryMessage::data_positions
Enumerator:
MSG_TYPE_POS 
BCAST_ID_POS 
HOPS_POS 
SRC_SEQ_POS 
DES_SEQ_POS 
SOURCE_POS 
DEST_POS 
NHOP_POS 
PAYLOAD_POS 

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P , typename Path_P >
wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::AODVRouteDiscoveryMessage ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::AODVRouteDiscoveryMessage ( uint8_t  msg_type,
uint8_t  bcast_id,
uint8_t  hop_cnt,
uint16_t  source_seq_nr,
uint16_t  destination_seq_nr,
uint16_t  source,
uint16_t  destination,
uint8_t  next_hop 
) [inline]

Member Function Documentation

template<typename OsModel_P , typename Radio_P , typename Path_P >
uint8_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::bcast_id ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
size_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
uint16_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::destination ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
uint16_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::destination_sequence_nr ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
uint8_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::hop_cnt ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
uint8_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::msg_type ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
uint8_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::next_hop ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
block_data_t* wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::payload ( void  ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
uint8_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::payload_size ( ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
void wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::set_bcast_id ( uint8_t  bcast_id) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
void wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::set_destination ( uint16_t  dest) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
void wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::set_destination_sequence_nr ( uint16_t  des_seq) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
void wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::set_hop_cnt ( uint8_t  hop_cnt) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
void wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::set_msg_type ( uint8_t  type) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
void wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::set_next_hop ( uint8_t  next_hop) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
void wiselib::AODVRouteDiscoveryMessage< 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::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::set_source ( uint16_t  src) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
void wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::set_source_sequence_nr ( uint16_t  src_seq) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
uint16_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::source ( void  ) [inline]
template<typename OsModel_P , typename Radio_P , typename Path_P >
uint16_t wiselib::AODVRouteDiscoveryMessage< OsModel_P, Radio_P, Path_P >::source_sequence_nr ( ) [inline]

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