#include <ros_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 () |
ROSBroker () | |
Private Member Functions | |
void | callback (const GSDFPacket &ros_msg) |
Private Attributes | |
std::string | name_ |
ros::NodeHandle | node_handle_ |
ros::Publisher | packet_publisher_ |
ros::Subscriber | packet_subscriber_ |
micros_swarm::PacketParser | parser_ |
Definition at line 35 of file ros_broker.h.
Definition at line 32 of file ros_broker.cpp.
void ros_broker::ROSBroker::broadcast | ( | const std::vector< uint8_t > & | msg_data | ) | [virtual] |
Implements micros_swarm::CommInterface.
Definition at line 43 of file ros_broker.cpp.
void ros_broker::ROSBroker::callback | ( | const GSDFPacket & | ros_msg | ) | [private] |
Definition at line 62 of file ros_broker.cpp.
void ros_broker::ROSBroker::init | ( | std::string | name, |
const micros_swarm::PacketParser & | parser | ||
) | [virtual] |
Implements micros_swarm::CommInterface.
Definition at line 37 of file ros_broker.cpp.
void ros_broker::ROSBroker::receive | ( | ) | [virtual] |
Implements micros_swarm::CommInterface.
Definition at line 67 of file ros_broker.cpp.
std::string ros_broker::ROSBroker::name_ [private] |
Definition at line 43 of file ros_broker.h.
Definition at line 45 of file ros_broker.h.
Definition at line 46 of file ros_broker.h.
Definition at line 47 of file ros_broker.h.
Definition at line 44 of file ros_broker.h.