Goby v2
|
Public Member Functions | |
PubSubNodeWrapper (NodeInterface< NodeTypeBase > *node, const protobuf::PubSubSocketConfig &cfg) | |
Public Member Functions inherited from goby::common::PubSubNodeWrapperBase | |
PubSubNodeWrapperBase (ZeroMQService *service, const protobuf::PubSubSocketConfig &cfg) | |
void | publish (MarshallingScheme marshalling_scheme, const std::string &identifier, const std::string &body) |
void | subscribe (MarshallingScheme marshalling_scheme, const std::string &identifier) |
void | subscribe_all () |
bool | using_pubsub () const |
Publish / Subscribe | |
void | publish (const NodeTypeBase &msg, const std::string &group="") |
Publish a message (of any type derived from google::protobuf::Message) More... | |
void | subscribe (const std::string &identifier) |
Additional Inherited Members | |
Public Types inherited from goby::common::PubSubNodeWrapperBase | |
enum | { SOCKET_SUBSCRIBE = 103998, SOCKET_PUBLISH = 103999 } |
Protected Member Functions inherited from goby::common::PubSubNodeWrapperBase | |
const protobuf::PubSubSocketConfig & | cfg () const |
Definition at line 143 of file pubsub_node_wrapper.h.
|
inline |
Publish a message (of any type derived from google::protobuf::Message)
msg | Message to publish |
Definition at line 159 of file pubsub_node_wrapper.h.