Public Member Functions | Private Member Functions | Private Attributes
ros_broker::ROSBroker Class Reference

#include <ros_broker.h>

Inheritance diagram for ros_broker::ROSBroker:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 35 of file ros_broker.h.


Constructor & Destructor Documentation

Definition at line 32 of file ros_broker.cpp.


Member Function Documentation

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.


Member Data Documentation

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.


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


ros_broker
Author(s):
autogenerated on Thu Jun 6 2019 18:52:36