#include <opensplice_dds_comm.h>
Public Member Functions | |
void | broadcast (const micros_swarm::CommPacket &packet) |
void | init (std::string name, boost::function< void(const micros_swarm::CommPacket &packet)> func) |
OpenSpliceDDSComm () | |
void | receive () |
Private Member Functions | |
void | callback (const opensplice_dds_comm::GSDFPacket &dds_msg) |
Private Attributes | |
std::string | name_ |
boost::shared_ptr < opensplice_dds_comm::Publisher > | packet_publisher_ |
boost::shared_ptr < opensplice_dds_comm::Subscriber > | packet_subscriber_ |
boost::function< void(const micros_swarm::CommPacket &packet)> | parser_func_ |
Definition at line 38 of file opensplice_dds_comm.h.
Definition at line 32 of file opensplice_dds_comm.cpp.
void opensplice_dds_comm::OpenSpliceDDSComm::broadcast | ( | const micros_swarm::CommPacket & | packet | ) | [virtual] |
Implements micros_swarm::CommInterface.
Definition at line 45 of file opensplice_dds_comm.cpp.
void opensplice_dds_comm::OpenSpliceDDSComm::callback | ( | const opensplice_dds_comm::GSDFPacket & | dds_msg | ) | [private] |
Definition at line 57 of file opensplice_dds_comm.cpp.
void opensplice_dds_comm::OpenSpliceDDSComm::init | ( | std::string | name, |
boost::function< void(const micros_swarm::CommPacket &packet)> | func | ||
) |
Definition at line 39 of file opensplice_dds_comm.cpp.
void opensplice_dds_comm::OpenSpliceDDSComm::receive | ( | ) | [virtual] |
Implements micros_swarm::CommInterface.
Definition at line 69 of file opensplice_dds_comm.cpp.
std::string opensplice_dds_comm::OpenSpliceDDSComm::name_ [private] |
Definition at line 46 of file opensplice_dds_comm.h.
boost::shared_ptr<opensplice_dds_comm::Publisher> opensplice_dds_comm::OpenSpliceDDSComm::packet_publisher_ [private] |
Definition at line 48 of file opensplice_dds_comm.h.
boost::shared_ptr<opensplice_dds_comm::Subscriber> opensplice_dds_comm::OpenSpliceDDSComm::packet_subscriber_ [private] |
Definition at line 49 of file opensplice_dds_comm.h.
boost::function<void(const micros_swarm::CommPacket& packet)> opensplice_dds_comm::OpenSpliceDDSComm::parser_func_ [private] |
Definition at line 47 of file opensplice_dds_comm.h.