opensplice_dds_comm.h
Go to the documentation of this file.
1 
23 #ifndef OPENSPLICE_DDS_COMM_H_
24 #define OPENSPLICE_DDS_COMM_H_
25 
26 #include <iostream>
29 
30 #include "GSDFPacket.h"
31 #include "check_status.h"
32 #include "publisher.h"
33 #include "subscriber.h"
34 
37 
38 namespace opensplice_dds_comm{
39 
41  public:
43  void init(std::string name, const micros_swarm::PacketParser& parser);
44  void broadcast(const micros_swarm::CommPacket& packet);
45  void receive();
46  private:
47  void callback(const opensplice_dds_comm::GSDFPacket& dds_msg);
48 
49  std::string name_;
53  };
54 };
55 #endif
void broadcast(const micros_swarm::CommPacket &packet)
boost::shared_ptr< opensplice_dds_comm::Subscriber > packet_subscriber_
void init(std::string name, const micros_swarm::PacketParser &parser)
boost::shared_ptr< opensplice_dds_comm::Publisher > packet_publisher_
void callback(const opensplice_dds_comm::GSDFPacket &dds_msg)


opensplice_dds_comm
Author(s):
autogenerated on Thu Jun 1 2017 02:43:49