Public Member Functions | Public Attributes | Static Public Attributes
MultiHopBroadcastFrame Class Reference

#include <MultiHopBroadcastFrame.h>

Inheritance diagram for MultiHopBroadcastFrame:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::string getFrameAsNetworkString (unsigned char *source)
 MultiHopBroadcastFrame (std::string topic_to_publish, std::string data, string source_host, uint8_t payload_type_field, uint16_t hop_range)
 MultiHopBroadcastFrame (unsigned char *buffer)
virtual ~MultiHopBroadcastFrame ()

Public Attributes

uint16_t buffer_str_len_
struct mh_bcast_header header_
std::string hostname_source_
std::string payload_
bool rebroadcast
std::string topic_

Static Public Attributes

static uint32_t frame_count_stat = 0
static uint32_t HEADER_FIXED_LEN = sizeof (eh_header) + sizeof (mh_bcast_header)

Detailed Description

Definition at line 23 of file MultiHopBroadcastFrame.h.


Constructor & Destructor Documentation

MultiHopBroadcastFrame::MultiHopBroadcastFrame ( std::string  topic_to_publish,
std::string  data,
string  source_host,
uint8_t  payload_type_field,
uint16_t  hop_range 
)

Definition at line 11 of file MultiHopBroadcastFrame.cpp.

Definition at line 29 of file MultiHopBroadcastFrame.cpp.

Definition at line 84 of file MultiHopBroadcastFrame.cpp.


Member Function Documentation

std::string MultiHopBroadcastFrame::getFrameAsNetworkString ( unsigned char *  source)

Definition at line 88 of file MultiHopBroadcastFrame.cpp.


Member Data Documentation

Definition at line 39 of file MultiHopBroadcastFrame.h.

Definition at line 35 of file MultiHopBroadcastFrame.h.

Definition at line 38 of file MultiHopBroadcastFrame.h.

uint32_t MultiHopBroadcastFrame::HEADER_FIXED_LEN = sizeof (eh_header) + sizeof (mh_bcast_header) [static]

Definition at line 36 of file MultiHopBroadcastFrame.h.

Definition at line 41 of file MultiHopBroadcastFrame.h.

Definition at line 43 of file MultiHopBroadcastFrame.h.

Definition at line 31 of file MultiHopBroadcastFrame.h.

Definition at line 42 of file MultiHopBroadcastFrame.h.


The documentation for this class was generated from the following files:


adhoc_communication
Author(s): Guenter Cwioro , Torsten Andre
autogenerated on Thu Jun 6 2019 20:59:43