Goby v2
Public Member Functions | Static Public Member Functions | List of all members
goby::moos::MOOSTranslator Class Reference

Public Member Functions

 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, CMOOSMsgprotobuf_to_moos (const google::protobuf::Message &protobuf_msg)
 
std::multimap< std::string, CMOOSMsgprotobuf_to_inverse_moos (const google::protobuf::Message &protobuf_msg)
 
const std::map< std::string, goby::moos::protobuf::TranslatorEntry > & dictionary () const
 

Static Public Member Functions

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)
 

Detailed Description

Definition at line 72 of file moos_translator.h.


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