Goby3
3.1.5
2024.05.14
|
Namespaces | |
bluefin | |
protobuf | |
transitional | |
ufld | |
Typedefs | |
using | Translator = BasicTranslator< goby::middleware::SimpleThread > |
Functions | |
void | convert_and_publish_node_status (const goby::middleware::frontseat::protobuf::NodeStatus &status, CMOOSCommClient &moos_comms) |
void | write_version_message () |
template<typename App > | |
int | run (int argc, char *argv[]) |
template<typename ProtobufMessage > | |
void | protobuf_inbox (const CMOOSMsg &msg, boost::function< void(const ProtobufMessage &msg)> handler) |
bool | TranslatorOnConnectCallBack (void *TranslatorBase) |
std::map< int, std::string > | run_serialize_algorithms (const google::protobuf::Message &in, const google::protobuf::RepeatedPtrField< protobuf::TranslatorEntry::PublishSerializer::Algorithm > &algorithms) |
std::string | strip_name_from_enum (const std::string &enum_value, const std::string &field_name) |
std::string | add_name_to_enum (const std::string &enum_value, const std::string &field_name) |
goby::moos::protobuf::TranslatorEntry::ParserSerializerTechnique | get_moos_technique () |
void | set_moos_technique (const goby::moos::protobuf::GobyMOOSAppConfig &cfg) |
std::ostream & | operator<< (std::ostream &os, const CMOOSMsg &msg) |
bool | val_from_string (std::string &out, const std::string &str, const std::string &key) |
template<typename T > | |
bool | val_from_string (T &out, const std::string &str, const std::string &key) |
bool | val_from_string (bool &out, const std::string &str, const std::string &key) |
specialization of val_from_string for boolean out More... | |
void | stripblanks (std::string &s) |
remove all blanks from string s More... | |
void | alg_power_to_dB (moos::transitional::DCCLMessageVal &val_to_mod) |
void | alg_dB_to_power (moos::transitional::DCCLMessageVal &val_to_mod) |
void | alg_TSD_to_soundspeed (moos::transitional::DCCLMessageVal &val, const std::vector< moos::transitional::DCCLMessageVal > &ref_vals) |
void | alg_subtract (moos::transitional::DCCLMessageVal &val, const std::vector< moos::transitional::DCCLMessageVal > &ref_vals) |
void | alg_add (moos::transitional::DCCLMessageVal &val, const std::vector< moos::transitional::DCCLMessageVal > &ref_vals) |
void | alg_angle_0_360 (moos::transitional::DCCLMessageVal &angle) |
void | alg_angle_n180_180 (moos::transitional::DCCLMessageVal &angle) |
void | alg_to_upper (moos::transitional::DCCLMessageVal &val_to_mod) |
void | alg_to_lower (moos::transitional::DCCLMessageVal &val_to_mod) |
void | alg_abs (moos::transitional::DCCLMessageVal &val_to_mod) |
void | alg_lat2hemisphere_initial (moos::transitional::DCCLMessageVal &val_to_mod) |
void | alg_lon2hemisphere_initial (moos::transitional::DCCLMessageVal &val_to_mod) |
void | alg_unix_time2nmea_time (moos::transitional::DCCLMessageVal &val_to_mod) |
void | alg_lat2nmea_lat (moos::transitional::DCCLMessageVal &val_to_mod) |
void | alg_lon2nmea_lon (moos::transitional::DCCLMessageVal &val_to_mod) |
std::ostream & | operator<< (std::ostream &os, const MOOSTranslator &tl) |
Variables | |
std::mutex | dynamic_parse_mutex |
const std::string | MAGIC_PROTOBUF_HEADER = "@PB" |
std::mutex | moos_technique_mutex |
goby::moos::protobuf::TranslatorEntry::ParserSerializerTechnique | moos_technique |
using goby::moos::Translator = typedef BasicTranslator<goby::middleware::SimpleThread> |
Definition at line 155 of file moos_plugin_translator.h.
|
inline |
Definition at line 147 of file moos_protobuf_helpers.h.
void goby::moos::alg_abs | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::alg_add | ( | moos::transitional::DCCLMessageVal & | val, |
const std::vector< moos::transitional::DCCLMessageVal > & | ref_vals | ||
) |
void goby::moos::alg_angle_0_360 | ( | moos::transitional::DCCLMessageVal & | angle | ) |
void goby::moos::alg_angle_n180_180 | ( | moos::transitional::DCCLMessageVal & | angle | ) |
void goby::moos::alg_dB_to_power | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::alg_lat2hemisphere_initial | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::alg_lat2nmea_lat | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::alg_lon2hemisphere_initial | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::alg_lon2nmea_lon | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::alg_power_to_dB | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::alg_subtract | ( | moos::transitional::DCCLMessageVal & | val, |
const std::vector< moos::transitional::DCCLMessageVal > & | ref_vals | ||
) |
void goby::moos::alg_to_lower | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::alg_to_upper | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::alg_TSD_to_soundspeed | ( | moos::transitional::DCCLMessageVal & | val, |
const std::vector< moos::transitional::DCCLMessageVal > & | ref_vals | ||
) |
void goby::moos::alg_unix_time2nmea_time | ( | moos::transitional::DCCLMessageVal & | val_to_mod | ) |
void goby::moos::convert_and_publish_node_status | ( | const goby::middleware::frontseat::protobuf::NodeStatus & | status, |
CMOOSCommClient & | moos_comms | ||
) |
|
inline |
Definition at line 1512 of file moos_protobuf_helpers.h.
|
inline |
Definition at line 37 of file moos_string.h.
|
inline |
Definition at line 213 of file moos_translator.h.
|
inline |
Definition at line 103 of file goby_moos_app.h.
Definition at line 1089 of file goby_moos_app.h.
|
inline |
Definition at line 78 of file moos_protobuf_helpers.h.
|
inline |
Definition at line 1518 of file moos_protobuf_helpers.h.
|
inline |
Definition at line 141 of file moos_protobuf_helpers.h.
|
inline |
remove all blanks from string s
Definition at line 160 of file moos_string.h.
bool goby::moos::TranslatorOnConnectCallBack | ( | void * | TranslatorBase | ) |
|
inline |
specialization of val_from_string for boolean out
Definition at line 148 of file moos_string.h.
|
inline |
case insensitive - find key
in str
and if successful put it in out and return true deal with these basic forms: str = foo=1,bar=2,pig=3 str = foo=1,bar={2,3,4,5},pig=3
out | string to return value in |
str | haystack to search |
key | needle to find |
Definition at line 60 of file moos_string.h.
|
inline |
variation of val_from_string() for arbitrary return type
key
not in str
OR if out
is not of proper type T Definition at line 129 of file moos_string.h.
void goby::moos::write_version_message | ( | ) |
|
extern |
const std::string goby::moos::MAGIC_PROTOBUF_HEADER = "@PB" |
Definition at line 75 of file moos_protobuf_helpers.h.
|
extern |
|
extern |