Wiselib
|
The message that the aggregation protocol is using to send the aggregate values. More...
#include <aggregationmsg.h>
Public Types | |
enum | { AGG_MESSAGE_TYPE = 143 } |
enum | data_positions { MSG_ID_POS = 0, AGG_LEVEL_POS = 1, PAYLOAD_POS = 2 } |
enum | aggregation_level { IN_CLUSTER = 0, IN_TREE = 1 } |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef Radio::message_id_t | message_id_t |
Public Member Functions | |
AggregateMsg () | |
~AggregateMsg () | |
message_id_t | msg_id () |
void | set_msg_id (message_id_t id) |
uint8_t | level () |
void | set_level (uint8_t level) |
block_data_t * | payload () |
uint8_t | payload_size () |
uint8_t | buffer_size () |
block_data_t * | data () |
void | set_payload_size (uint8_t payload_size) |
The message that the aggregation protocol is using to send the aggregate values.
typedef Radio::block_data_t wiselib::AggregateMsg< OsModel_P, Radio_P >::block_data_t |
typedef Radio::message_id_t wiselib::AggregateMsg< OsModel_P, Radio_P >::message_id_t |
typedef Radio::node_id_t wiselib::AggregateMsg< OsModel_P, Radio_P >::node_id_t |
typedef OsModel_P wiselib::AggregateMsg< OsModel_P, Radio_P >::OsModel |
typedef Radio_P wiselib::AggregateMsg< OsModel_P, Radio_P >::Radio |
typedef Radio::size_t wiselib::AggregateMsg< OsModel_P, Radio_P >::size_t |
enum wiselib::AggregateMsg::aggregation_level |
enum wiselib::AggregateMsg::data_positions |
wiselib::AggregateMsg< OsModel_P, Radio_P >::AggregateMsg | ( | ) | [inline] |
wiselib::AggregateMsg< OsModel_P, Radio_P >::~AggregateMsg | ( | ) | [inline] |
uint8_t wiselib::AggregateMsg< OsModel_P, Radio_P >::buffer_size | ( | void | ) | [inline] |
block_data_t* wiselib::AggregateMsg< OsModel_P, Radio_P >::data | ( | ) | [inline] |
uint8_t wiselib::AggregateMsg< OsModel_P, Radio_P >::level | ( | ) | [inline] |
message_id_t wiselib::AggregateMsg< OsModel_P, Radio_P >::msg_id | ( | ) | [inline] |
block_data_t* wiselib::AggregateMsg< OsModel_P, Radio_P >::payload | ( | void | ) | [inline] |
uint8_t wiselib::AggregateMsg< OsModel_P, Radio_P >::payload_size | ( | ) | [inline] |
void wiselib::AggregateMsg< OsModel_P, Radio_P >::set_level | ( | uint8_t | level | ) | [inline] |
void wiselib::AggregateMsg< OsModel_P, Radio_P >::set_msg_id | ( | message_id_t | id | ) | [inline] |
void wiselib::AggregateMsg< OsModel_P, Radio_P >::set_payload_size | ( | uint8_t | payload_size | ) | [inline] |