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

#include <end_to_end_communication_msg.h>

List of all members.

Public Types

enum  { END_TO_END_MESSAGE = 245, NODE_IN_CLUSTER = 246 }
enum  { MAX_MESSAGE_LENGTH = Radio::MAX_MESSAGE_LENGTH, MAX_PAYLOAD_LENGTH = Radio::MAX_MESSAGE_LENGTH - PAYLOAD_POS, HEADER_LENGTH = PAYLOAD_POS }
enum  { END_TO_END_MESSAGE = 245, NODE_IN_CLUSTER = 246 }
enum  { MAX_MESSAGE_LENGTH = Radio::MAX_MESSAGE_LENGTH, MAX_PAYLOAD_LENGTH = Radio::MAX_MESSAGE_LENGTH - PAYLOAD_POS, HEADER_LENGTH = PAYLOAD_POS }
enum  { END_TO_END_MESSAGE = 245, NODE_IN_CLUSTER = 246 }
enum  { MAX_MESSAGE_LENGTH = Radio::MAX_MESSAGE_LENGTH, MAX_PAYLOAD_LENGTH = Radio::MAX_MESSAGE_LENGTH - PAYLOAD_POS, HEADER_LENGTH = PAYLOAD_POS }
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
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
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

 CommunicationMessage (node_id_t src=Radio::NULL_NODE_ID, node_id_t dest=Radio::NULL_NODE_ID)
message_id_t msg_id ()
uint8_t seq_no ()
uint8_t payload_size ()
node_id_t source ()
void set_source (node_id_t src)
node_id_t dest ()
void set_dest (node_id_t dest)
uint16_t timestamp ()
void set_timestamp (uint16_t timestamp)
void set_payload (uint8_t len, block_data_t *data)
block_data_tpayload (void)
uint8_t buffer_size ()
void set_msg_id (message_id_t id)
 CommunicationMessage (node_id_t src=Radio::NULL_NODE_ID, node_id_t dest=Radio::NULL_NODE_ID)
message_id_t msg_id ()
uint8_t seq_no ()
uint8_t payload_size ()
node_id_t source ()
void set_source (node_id_t src)
node_id_t dest ()
void set_dest (node_id_t dest)
void set_payload (uint8_t len, block_data_t *data)
block_data_tpayload (void)
uint8_t buffer_size ()
void set_msg_id (message_id_t id)
 CommunicationMessage (node_id_t src=Radio::NULL_NODE_ID, node_id_t dest=Radio::NULL_NODE_ID)
message_id_t msg_id ()
uint8_t seq_no ()
uint8_t payload_size ()
node_id_t source ()
void set_source (node_id_t src)
node_id_t dest ()
void set_dest (node_id_t dest)
uint16_t timestamp ()
void set_timestamp (uint16_t timestamp)
void set_payload (uint8_t len, block_data_t *data)
block_data_tpayload (void)
uint8_t buffer_size ()
void set_msg_id (message_id_t id)

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


Member Typedef Documentation

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

Member Enumeration Documentation

template<typename OsModel_P, typename Radio_P>
anonymous enum
Enumerator:
END_TO_END_MESSAGE 
NODE_IN_CLUSTER 
template<typename OsModel_P, typename Radio_P>
anonymous enum
Enumerator:
MAX_MESSAGE_LENGTH 
MAX_PAYLOAD_LENGTH 
HEADER_LENGTH 
template<typename OsModel_P, typename Radio_P>
anonymous enum
Enumerator:
END_TO_END_MESSAGE 
NODE_IN_CLUSTER 
template<typename OsModel_P, typename Radio_P>
anonymous enum
Enumerator:
MAX_MESSAGE_LENGTH 
MAX_PAYLOAD_LENGTH 
HEADER_LENGTH 
template<typename OsModel_P, typename Radio_P>
anonymous enum
Enumerator:
END_TO_END_MESSAGE 
NODE_IN_CLUSTER 
template<typename OsModel_P, typename Radio_P>
anonymous enum
Enumerator:
MAX_MESSAGE_LENGTH 
MAX_PAYLOAD_LENGTH 
HEADER_LENGTH 

Constructor & Destructor Documentation

template<typename OsModel_P, typename Radio_P>
wiselib::CommunicationMessage< OsModel_P, Radio_P >::CommunicationMessage ( node_id_t  src = Radio::NULL_NODE_ID,
node_id_t  dest = Radio::NULL_NODE_ID 
) [inline]
template<typename OsModel_P, typename Radio_P>
wiselib::CommunicationMessage< OsModel_P, Radio_P >::CommunicationMessage ( node_id_t  src = Radio::NULL_NODE_ID,
node_id_t  dest = Radio::NULL_NODE_ID 
) [inline]
template<typename OsModel_P, typename Radio_P>
wiselib::CommunicationMessage< OsModel_P, Radio_P >::CommunicationMessage ( node_id_t  src = Radio::NULL_NODE_ID,
node_id_t  dest = Radio::NULL_NODE_ID 
) [inline]

Member Function Documentation

template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::buffer_size ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
node_id_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::dest ( ) [inline]
template<typename OsModel_P, typename Radio_P>
node_id_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::dest ( ) [inline]
template<typename OsModel_P, typename Radio_P>
node_id_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::dest ( ) [inline]
template<typename OsModel_P, typename Radio_P>
message_id_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::msg_id ( ) [inline]
template<typename OsModel_P, typename Radio_P>
message_id_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::msg_id ( ) [inline]
template<typename OsModel_P, typename Radio_P>
message_id_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::msg_id ( ) [inline]
template<typename OsModel_P, typename Radio_P>
block_data_t* wiselib::CommunicationMessage< OsModel_P, Radio_P >::payload ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
block_data_t* wiselib::CommunicationMessage< OsModel_P, Radio_P >::payload ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
block_data_t* wiselib::CommunicationMessage< OsModel_P, Radio_P >::payload ( void  ) [inline]
template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::payload_size ( ) [inline]
template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::payload_size ( ) [inline]
template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::payload_size ( ) [inline]
template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::seq_no ( ) [inline]
template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::seq_no ( ) [inline]
template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::seq_no ( ) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_dest ( node_id_t  dest) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_dest ( node_id_t  dest) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_dest ( node_id_t  dest) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_msg_id ( message_id_t  id) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_msg_id ( message_id_t  id) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_msg_id ( message_id_t  id) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_payload ( uint8_t  len,
block_data_t data 
) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_payload ( uint8_t  len,
block_data_t data 
) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_payload ( uint8_t  len,
block_data_t data 
) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_source ( node_id_t  src) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_source ( node_id_t  src) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_source ( node_id_t  src) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_timestamp ( uint16_t  timestamp) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CommunicationMessage< OsModel_P, Radio_P >::set_timestamp ( uint16_t  timestamp) [inline]
template<typename OsModel_P, typename Radio_P>
node_id_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::source ( ) [inline]
template<typename OsModel_P, typename Radio_P>
node_id_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::source ( ) [inline]
template<typename OsModel_P, typename Radio_P>
node_id_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::source ( ) [inline]
template<typename OsModel_P, typename Radio_P>
uint16_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::timestamp ( ) [inline]
template<typename OsModel_P, typename Radio_P>
uint16_t wiselib::CommunicationMessage< OsModel_P, Radio_P >::timestamp ( ) [inline]

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