|
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[]) |
| Shorthand for goby::run for Configurators that have a constructor that simply takes argc, argv, e.g. MyConfigurator(int argc, char* argv[]). Allows for backwards-compatibility pre-Configurator. More...
|
|
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) |
|
bool goby::moos::val_from_string |
( |
std::string & |
out, |
|
|
const std::string & |
str, |
|
|
const std::string & |
key |
|
) |
| |
|
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
- Parameters
-
out | string to return value in |
str | haystack to search |
key | needle to find |
- Returns
- true if key is in str, false otherwise
Definition at line 60 of file moos_string.h.