Goby3  3.1.5a
2024.05.23
goby::moos::TranslatorBase::MOOSInterface Class Reference

#include <goby/moos/middleware/moos_plugin_translator.h>

Public Member Functions

void add_trigger (const std::string &moos_var, const std::function< void(const CMOOSMsg &)> &func)
 
void add_wildcard_trigger (const std::string &moos_var_wildcard, const std::string &moos_app_wildcard, const std::function< void(const CMOOSMsg &)> &func)
 
void add_buffer (const std::string &moos_var)
 
std::map< std::string, CMOOSMsg > & buffer ()
 
CMOOSCommClient & comms ()
 
void loop ()
 

Friends

bool TranslatorOnConnectCallBack (void *TranslatorBase)
 

Detailed Description

Definition at line 66 of file moos_plugin_translator.h.

Member Function Documentation

◆ add_buffer()

void goby::moos::TranslatorBase::MOOSInterface::add_buffer ( const std::string &  moos_var)
inline

Definition at line 88 of file moos_plugin_translator.h.

◆ add_trigger()

void goby::moos::TranslatorBase::MOOSInterface::add_trigger ( const std::string &  moos_var,
const std::function< void(const CMOOSMsg &)> &  func 
)
inline

Definition at line 70 of file moos_plugin_translator.h.

◆ add_wildcard_trigger()

void goby::moos::TranslatorBase::MOOSInterface::add_wildcard_trigger ( const std::string &  moos_var_wildcard,
const std::string &  moos_app_wildcard,
const std::function< void(const CMOOSMsg &)> &  func 
)
inline

Definition at line 78 of file moos_plugin_translator.h.

◆ buffer()

std::map<std::string, CMOOSMsg>& goby::moos::TranslatorBase::MOOSInterface::buffer ( )
inline

Definition at line 94 of file moos_plugin_translator.h.

◆ comms()

CMOOSCommClient& goby::moos::TranslatorBase::MOOSInterface::comms ( )
inline

Definition at line 95 of file moos_plugin_translator.h.

◆ loop()

void goby::moos::TranslatorBase::MOOSInterface::loop ( )

Friends And Related Function Documentation

◆ TranslatorOnConnectCallBack

bool TranslatorOnConnectCallBack ( void *  TranslatorBase)
friend

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