Goby3  3.1.5a
2024.05.23
goby::moos::GobyMOOSApp Class Reference

#include <goby/moos/goby_moos_app.h>

Inheritance diagram for goby::moos::GobyMOOSApp:
goby::moos::GobyMOOSAppSelector<> goby::moos::MOOSAppShell CMOOSApp

Public Member Functions

template<typename ProtobufConfig >
 GobyMOOSApp (ProtobufConfig *cfg)
 

Additional Inherited Members

- Protected Types inherited from goby::moos::GobyMOOSAppSelector<>
typedef boost::function< void(const CMOOSMsg &msg)> InboxFunc
 
- Protected Member Functions inherited from goby::moos::GobyMOOSAppSelector<>
 GobyMOOSAppSelector (ProtobufConfig *cfg)
 
 ~GobyMOOSAppSelector () override=default
 
void publish_pb (const std::string &key, const ProtobufMessage &msg)
 
void publish (CMOOSMsg &msg)
 
void publish (const std::string &key, const std::string &value)
 
void publish (const std::string &key, double value)
 
goby::moos::DynamicMOOSVarsdynamic_vars ()
 
double start_time () const
 
void subscribe (const std::string &var, const InboxFunc &handler=InboxFunc(), double blackout=0)
 
void subscribe (const std::string &var, void(V::*mem_func)(A1), V *obj, double blackout=0)
 
void subscribe (const std::string &var_pattern, const std::string &app_pattern, const InboxFunc &handler=InboxFunc(), double blackout=0)
 
void subscribe (const std::string &var_pattern, const std::string &app_pattern, void(V::*mem_func)(A1), V *obj, double blackout=0)
 
void subscribe_pb (const std::string &var, void(V::*mem_func)(const ProtobufMessage &), V *obj, double blackout=0)
 
void subscribe_pb (const std::string &var, boost::function< void(const ProtobufMessage &msg)> handler, double blackout=0)
 
void register_timer (int period_seconds, const boost::function< void()> &handler)
 
void register_timer (int period_seconds, void(V::*mem_func)(), V *obj)
 
friend int ::goby::moos::run (int argc, char *argv[])
 
virtual void loop ()=0
 
bool ignore_stale ()
 
void set_ignore_stale (bool b)
 
bool dynamic_moos_vars_enabled ()
 
void set_dynamic_moos_vars_enabled (bool b)
 
std::pair< std::string, goby::moos::protobuf::TranslatorEntry::ParserSerializerTechniqueparse_type_technique (const std::string &type_and_technique)
 
- Protected Member Functions inherited from goby::moos::MOOSAppShell
bool Iterate () override
 
bool OnStartUp () override
 
bool OnConnectToServer () override
 
bool OnNewMail (MOOSMSG_LIST &) override
 
void RegisterVariables ()
 
void PostReport ()
 

Detailed Description

Definition at line 359 of file goby_moos_app.h.

Constructor & Destructor Documentation

◆ GobyMOOSApp()

template<typename ProtobufConfig >
goby::moos::GobyMOOSApp::GobyMOOSApp ( ProtobufConfig *  cfg)
inlineexplicit

Definition at line 363 of file goby_moos_app.h.


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