#include <goby/moos/moos_translator.h>
|
| MOOSTranslator (const goby::moos::protobuf::TranslatorEntry &entry=goby::moos::protobuf::TranslatorEntry(), double lat_origin=std::numeric_limits< double >::quiet_NaN(), double lon_origin=std::numeric_limits< double >::quiet_NaN(), const std::string &modem_id_lookup_path="") |
|
| MOOSTranslator (const google::protobuf::RepeatedPtrField< goby::moos::protobuf::TranslatorEntry > &entries, double lat_origin=std::numeric_limits< double >::quiet_NaN(), double lon_origin=std::numeric_limits< double >::quiet_NaN(), const std::string &modem_id_lookup_path="") |
|
void | clear_entry (const std::string &protobuf_name) |
|
void | add_entry (const goby::moos::protobuf::TranslatorEntry &entry) |
|
void | add_entry (const std::set< goby::moos::protobuf::TranslatorEntry > &entries) |
|
void | add_entry (const google::protobuf::RepeatedPtrField< goby::moos::protobuf::TranslatorEntry > &entries) |
|
template<typename GoogleProtobufMessagePointer , class StringCMOOSMsgMap > |
GoogleProtobufMessagePointer | moos_to_protobuf (const StringCMOOSMsgMap &moos_variables, const std::string &protobuf_name) |
|
std::multimap< std::string, CMOOSMsg > | protobuf_to_moos (const google::protobuf::Message &protobuf_msg) |
|
std::multimap< std::string, CMOOSMsg > | protobuf_to_inverse_moos (const google::protobuf::Message &protobuf_msg) |
|
const std::map< std::string, goby::moos::protobuf::TranslatorEntry > & | dictionary () const |
|
void | update_utm_datum (double lat_origin, double lon_origin) |
|
|
static CMOOSMsg | make_moos_msg (const std::string &var, const std::string &str, bool is_binary, goby::moos::protobuf::TranslatorEntry::ParserSerializerTechnique technique, const std::string &pb_name) |
|
Definition at line 91 of file moos_translator.h.
◆ MOOSTranslator() [1/2]
goby::moos::MOOSTranslator::MOOSTranslator |
( |
const goby::moos::protobuf::TranslatorEntry & |
entry = goby::moos::protobuf::TranslatorEntry() , |
|
|
double |
lat_origin = std::numeric_limits<double>::quiet_NaN() , |
|
|
double |
lon_origin = std::numeric_limits<double>::quiet_NaN() , |
|
|
const std::string & |
modem_id_lookup_path = "" |
|
) |
| |
|
inline |
◆ MOOSTranslator() [2/2]
goby::moos::MOOSTranslator::MOOSTranslator |
( |
const google::protobuf::RepeatedPtrField< goby::moos::protobuf::TranslatorEntry > & |
entries, |
|
|
double |
lat_origin = std::numeric_limits<double>::quiet_NaN() , |
|
|
double |
lon_origin = std::numeric_limits<double>::quiet_NaN() , |
|
|
const std::string & |
modem_id_lookup_path = "" |
|
) |
| |
|
inline |
◆ add_entry() [1/3]
void goby::moos::MOOSTranslator::add_entry |
( |
const goby::moos::protobuf::TranslatorEntry & |
entry | ) |
|
|
inline |
◆ add_entry() [2/3]
◆ add_entry() [3/3]
void goby::moos::MOOSTranslator::add_entry |
( |
const std::set< goby::moos::protobuf::TranslatorEntry > & |
entries | ) |
|
|
inline |
◆ clear_entry()
void goby::moos::MOOSTranslator::clear_entry |
( |
const std::string & |
protobuf_name | ) |
|
|
inline |
◆ dictionary()
const std::map<std::string, goby::moos::protobuf::TranslatorEntry>& goby::moos::MOOSTranslator::dictionary |
( |
| ) |
const |
|
inline |
◆ make_moos_msg()
static CMOOSMsg goby::moos::MOOSTranslator::make_moos_msg |
( |
const std::string & |
var, |
|
|
const std::string & |
str, |
|
|
bool |
is_binary, |
|
|
goby::moos::protobuf::TranslatorEntry::ParserSerializerTechnique |
technique, |
|
|
const std::string & |
pb_name |
|
) |
| |
|
inlinestatic |
◆ moos_to_protobuf()
template<typename GoogleProtobufMessagePointer , class StringCMOOSMsgMap >
GoogleProtobufMessagePointer goby::moos::MOOSTranslator::moos_to_protobuf |
( |
const StringCMOOSMsgMap & |
moos_variables, |
|
|
const std::string & |
protobuf_name |
|
) |
| |
◆ protobuf_to_inverse_moos()
std::multimap< std::string, CMOOSMsg > goby::moos::MOOSTranslator::protobuf_to_inverse_moos |
( |
const google::protobuf::Message & |
protobuf_msg | ) |
|
|
inline |
◆ protobuf_to_moos()
std::multimap< std::string, CMOOSMsg > goby::moos::MOOSTranslator::protobuf_to_moos |
( |
const google::protobuf::Message & |
protobuf_msg | ) |
|
|
inline |
◆ update_utm_datum()
void goby::moos::MOOSTranslator::update_utm_datum |
( |
double |
lat_origin, |
|
|
double |
lon_origin |
|
) |
| |
The documentation for this class was generated from the following file: