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

Public Member Functions

 MOOSGateway (protobuf::MOOSGatewayConfig *cfg)
 
friend bool::MOOSGateway_OnConnect (void *pParam)
 
friend bool::MOOSGateway_OnDisconnect (void *pParam)
 
- 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::moos::MOOSNode
 MOOSNode (goby::common::ZeroMQService *service)
 
void send (const CMOOSMsg &msg, int socket_id, const std::string &group_unused="")
 
void subscribe (const std::string &full_or_partial_moos_name, int socket_id)
 
void unsubscribe (const std::string &full_or_partial_moos_name, int socket_id)
 
CMOOSMsgnewest (const std::string &key)
 
std::vector< CMOOSMsgnewest_substr (const std::string &substring)
 
- Public Member Functions inherited from goby::common::NodeInterface< CMOOSMsg >
ZeroMQServicezeromq_service ()
 
- Public Member Functions inherited from goby::common::NodeInterface< google::protobuf::Message >
ZeroMQServicezeromq_service ()
 

Additional Inherited Members

- 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::common::NodeInterface< CMOOSMsg >
 NodeInterface (ZeroMQService *service)
 
- 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 42 of file moos_gateway.cpp.


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