opensplice_dds_broker.h
Go to the documentation of this file.
1 
23 #ifndef OPENSPLICE_DDS_BROKER_H_
24 #define OPENSPLICE_DDS_BROKER_H_
25 
26 #include <iostream>
29 
30 #include "GSDFPacket.h"
31 #include "check_status.h"
32 #include "publisher.h"
33 #include "subscriber.h"
34 
36 
37 namespace opensplice_dds_broker{
38 
40  public:
42  void init(std::string name, const micros_swarm::PacketParser& parser);
43  void broadcast(const std::vector<uint8_t>& msg_data);
44  void receive();
45  private:
46  void callback(const opensplice_dds_broker::GSDFPacket& dds_msg);
47  std::string name_;
51  };
52 };
53 #endif
void broadcast(const std::vector< uint8_t > &msg_data)
void callback(const opensplice_dds_broker::GSDFPacket &dds_msg)
boost::shared_ptr< opensplice_dds_broker::Publisher > packet_publisher_
boost::shared_ptr< opensplice_dds_broker::Subscriber > packet_subscriber_
void init(std::string name, const micros_swarm::PacketParser &parser)


opensplice_dds_broker
Author(s):
autogenerated on Mon Jun 10 2019 14:02:23