Goby v2
Public Member Functions | List of all members
goby::acomms::Bridge Class Reference
Inheritance diagram for goby::acomms::Bridge:
Inheritance graph
[legend]

Public Member Functions

 Bridge (protobuf::BridgeConfig *cfg)
 
- Public Member Functions inherited from goby::common::ApplicationBase
 ApplicationBase (google::protobuf::Message *cfg=0)
 
void quit ()
 Requests a clean (return 0) exit.
 
std::string application_name ()
 name of this application (from AppBaseConfig::app_name). E.g. "garmin_gps_g"
 
std::string platform_name ()
 name of this platform (from AppBaseConfig::platform_name). E.g. "AUV-23" or "unicorn"
 
template<typename App , typename Config >
friend int::goby::run (int argc, char *argv[], Config *cfg)
 
const AppBaseConfigbase_cfg ()
 
- Public Member Functions inherited from goby::common::NodeInterface< google::protobuf::Message >
ZeroMQServicezeromq_service ()
 

Additional Inherited Members

- Protected Types inherited from goby::pb::Application
typedef goby::common::Colors Colors
 
- Protected Member Functions inherited from goby::pb::Application
template<typename ProtoBufMessage >
void subscribe (boost::function< void(const ProtoBufMessage &)> handler=boost::function< void(const ProtoBufMessage &)>(), const std::string &group="")
 Subscribe to a message (of any type derived from google::protobuf::Message) More...
 
template<typename ProtoBufMessage , class C >
void subscribe (void(C::*mem_func)(const ProtoBufMessage &), C *obj, const std::string &group="")
 Subscribe for a type using a class member function as the handler. More...
 
common::ZeroMQServicezeromq_service ()
 Fetchs the newest received message of this type. More...
 
boost::shared_ptr< StaticProtobufPubSubNodeWrapperpubsub_node ()
 
 Application (google::protobuf::Message *cfg=0)
 
virtual ~Application ()
 
void publish (const google::protobuf::Message &msg, const std::string &group="")
 
- Protected Member Functions inherited from goby::common::ZeroMQApplicationBase
 ZeroMQApplicationBase (ZeroMQService *service, google::protobuf::Message *cfg=0)
 
void set_loop_period (boost::posix_time::time_duration p)
 set the interval (with a boost::posix_time::time_duration) between calls to loop. Alternative to set_loop_freq(). More...
 
void set_loop_period (long milliseconds)
 set the interval in milliseconds between calls to loop. Alternative to set_loop_freq(). More...
 
void set_loop_freq (double hertz)
 set the frequency with which loop() is called. Alternative to set_loop_period(). More...
 
boost::posix_time::time_duration loop_period ()
 interval between calls to loop()
 
long loop_freq ()
 frequency of calls to loop() in Hertz
 
boost::posix_time::ptime t_start ()
 
- Protected Member Functions inherited from goby::pb::DynamicProtobufNode
 DynamicProtobufNode (common::ZeroMQService *service)
 
void subscribe (int socket_id, boost::function< void(boost::shared_ptr< google::protobuf::Message > msg)> handler, const std::string &group)
 
template<class C >
void subscribe (int socket_id, void(C::*mem_func)(boost::shared_ptr< google::protobuf::Message > msg), C *obj, const std::string &group)
 
void on_receipt (int socket_id, boost::function< void(boost::shared_ptr< google::protobuf::Message > msg)> handler, const std::string &group)
 
template<class C >
void on_receipt (int socket_id, void(C::*mem_func)(boost::shared_ptr< google::protobuf::Message > msg), C *obj, const std::string &group)
 
- Protected Member Functions inherited from goby::pb::ProtobufNode
 ProtobufNode (common::ZeroMQService *service)
 
void send (const google::protobuf::Message &msg, int socket_id, const std::string &group="")
 
void subscribe (const std::string &identifier, int socket_id)
 
void subscribe (const std::string &protobuf_type_name, int socket_id, const std::string &group)
 
- Protected Member Functions inherited from goby::common::NodeInterface< google::protobuf::Message >
 NodeInterface (ZeroMQService *service)
 

Detailed Description

Definition at line 51 of file bridge.cpp.


The documentation for this class was generated from the following file: