25 #include "goby/common/time.h" 27 #include "application.h" 33 using boost::shared_ptr;
35 using goby::common::operator<<;
47 goby::pb::Application::~Application()
49 glog.is(DEBUG1) &&
glog <<
"Application destructing..." << std::endl;
52 void goby::pb::Application::__set_up_sockets()
54 if (!(base_cfg().pubsub_config().has_publish_socket() &&
55 base_cfg().pubsub_config().has_subscribe_socket()))
59 <<
"Not using publish subscribe config. You will need to set up your nodes manually" 69 zeromq_service_.merge_cfg(base_cfg().additional_socket_config());
74 glog.is(DEBUG3) &&
glog <<
"< [" << group <<
"]: " << msg << std::endl;
77 pubsub_node_->publish(msg, group);
Contains objects relating to the core publish / subscribe architecture provided by Goby...
Utility objects for performing functions such as logging, non-acoustic communication (ethernet / seri...
common::FlexOstream glog
Access the Goby logger through this object.
Application(google::protobuf::Message *cfg=0)