23 #ifndef MOOSNODE20110419H 24 #define MOOSNODE20110419H 26 #include "moos_serializer.h" 27 #include "moos_string.h" 29 #include "goby/common/node_interface.h" 30 #include "goby/common/zeromq_service.h" 43 void send(
const CMOOSMsg& msg,
int socket_id,
const std::string& group_unused =
"");
44 void subscribe(
const std::string& full_or_partial_moos_name,
int socket_id);
45 void unsubscribe(
const std::string& full_or_partial_moos_name,
int socket_id);
47 CMOOSMsg& newest(
const std::string& key);
50 std::vector<CMOOSMsg> newest_substr(
const std::string& substring);
54 virtual void moos_inbox(
CMOOSMsg& msg) = 0;
57 void inbox(goby::common::MarshallingScheme marshalling_scheme,
const std::string& identifier,
58 const std::string& body,
int socket_id);
61 std::map<std::string, boost::shared_ptr<CMOOSMsg> > newest_vars;
The global namespace for the Goby project.