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

#include <dsdv_broadcast_message.h>

List of all members.

Public Types

enum  { ENTRY_SIZE = (2 * sizeof(typename Radio_P::node_id_t) + 1), MAX_ENTRIES = ENTRY_CNT }
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef DsdvRoutingTableValue
< OsModel, Radio
DsdvRtValue
typedef Radio_P::message_id_t message_id_t
typedef Radio::block_data_t block_data_t
typedef Radio::node_id_t node_id_t

Public Member Functions

 DsdvBroadcastMessage ()
message_id_t msg_id ()
void set_msg_id (message_id_t id)
uint8_t entry_cnt ()
void set_entry_cnt (uint8_t cnt)
void set_entry (int idx, node_id_t node, DsdvRtValue &entry)
bool entry (int idx, node_id_t &node, DsdvRtValue &entry)
size_t buffer_size ()

template<typename OsModel_P, typename Radio_P, int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
class wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >


Member Typedef Documentation

template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
typedef Radio::block_data_t wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::block_data_t
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
typedef DsdvRoutingTableValue<OsModel, Radio> wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::DsdvRtValue
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
typedef Radio_P::message_id_t wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::message_id_t
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
typedef Radio::node_id_t wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::node_id_t
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
typedef OsModel_P wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::OsModel
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
typedef Radio_P wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::Radio

Member Enumeration Documentation

template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
anonymous enum
Enumerator:
ENTRY_SIZE 
MAX_ENTRIES 

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P , int ENTRY_CNT>
wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::DsdvBroadcastMessage ( ) [inline]

Member Function Documentation

template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
size_t wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::buffer_size ( ) [inline]
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
bool wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::entry ( int  idx,
node_id_t node,
DsdvRtValue entry 
) [inline]
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
uint8_t wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::entry_cnt ( ) [inline]
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
message_id_t wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::msg_id ( ) [inline]
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
void wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::set_entry ( int  idx,
node_id_t  node,
DsdvRtValue entry 
) [inline]
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
void wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::set_entry_cnt ( uint8_t  cnt) [inline]
template<typename OsModel_P , typename Radio_P , int ENTRY_CNT = ((Radio_P::MAX_MESSAGE_LENGTH - sizeof(typename Radio_P::message_id_t) - 1) / (2 * sizeof(typename Radio_P::node_id_t) + 1))>
void wiselib::DsdvBroadcastMessage< OsModel_P, Radio_P, ENTRY_CNT >::set_msg_id ( message_id_t  id) [inline]

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