Public Member Functions | Private Member Functions | Private Attributes | List of all members
udp_bc_broker::UDPBCBroker Class Reference

#include <udp_bc_broker.h>

Inheritance diagram for udp_bc_broker::UDPBCBroker:
Inheritance graph
[legend]

Public Member Functions

void broadcast (const std::vector< uint8_t > &msg_data)
 
void init (std::string name, const micros_swarm::PacketParser &parser)
 
void receive ()
 
 UDPBCBroker ()
 

Private Member Functions

void callback (const std::vector< uint8_t > &msg_vec)
 

Private Attributes

std::string name_
 
micros_swarm::PacketParser parser_
 
boost::shared_ptr< UdpRecverrecver_
 
boost::shared_ptr< micros_swarm::RuntimeHandlerth_
 
boost::shared_ptr< UdpSendersender_
 

Detailed Description

Definition at line 41 of file udp_bc_broker.h.

Constructor & Destructor Documentation

udp_bc_broker::UDPBCBroker::UDPBCBroker ( )

Definition at line 32 of file udp_bc_broker.cpp.

Member Function Documentation

void udp_bc_broker::UDPBCBroker::broadcast ( const std::vector< uint8_t > &  msg_data)
virtual

Implements micros_swarm::CommInterface.

Definition at line 46 of file udp_bc_broker.cpp.

void udp_bc_broker::UDPBCBroker::callback ( const std::vector< uint8_t > &  msg_vec)
private

Definition at line 56 of file udp_bc_broker.cpp.

void udp_bc_broker::UDPBCBroker::init ( std::string  name,
const micros_swarm::PacketParser parser 
)
virtual

Implements micros_swarm::CommInterface.

Definition at line 40 of file udp_bc_broker.cpp.

void udp_bc_broker::UDPBCBroker::receive ( )
virtual

Implements micros_swarm::CommInterface.

Definition at line 61 of file udp_bc_broker.cpp.

Member Data Documentation

std::string udp_bc_broker::UDPBCBroker::name_
private

Definition at line 49 of file udp_bc_broker.h.

micros_swarm::PacketParser udp_bc_broker::UDPBCBroker::parser_
private

Definition at line 50 of file udp_bc_broker.h.

boost::shared_ptr<UdpRecver> udp_bc_broker::UDPBCBroker::recver_
private

Definition at line 52 of file udp_bc_broker.h.

boost::shared_ptr<micros_swarm::RuntimeHandle> udp_bc_broker::UDPBCBroker::rth_
private

Definition at line 53 of file udp_bc_broker.h.

boost::shared_ptr<UdpSender> udp_bc_broker::UDPBCBroker::sender_
private

Definition at line 51 of file udp_bc_broker.h.


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


udp_bc_broker
Author(s):
autogenerated on Mon Jun 10 2019 14:02:40