#include <udp_bc_broker.h>
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< UdpRecver > | recver_ |
boost::shared_ptr < micros_swarm::RuntimeHandle > | rth_ |
boost::shared_ptr< UdpSender > | sender_ |
Definition at line 41 of file udp_bc_broker.h.
Definition at line 32 of file udp_bc_broker.cpp.
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.
std::string udp_bc_broker::UDPBCBroker::name_ [private] |
Definition at line 49 of file udp_bc_broker.h.
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.