Namespaces | |
string_utils | |
substitutions | |
Classes | |
class | LaunchConfig |
class | Node |
class | ParseContext |
class | ParseException |
class | SubstitutionException |
Typedefs | |
using | Handler = std::function< std::string(const std::string &, const std::string &)> |
using | HandlerMap = std::map< std::string, Handler > |
Enumerations | |
enum | ParserState { PARSER_IDLE, PARSER_DOLLAR, PARSER_INSIDE } |
Functions | |
static XmlRpc::XmlRpcValue | autoXmlRpcValue (const std::string &fullValue) |
std::string | evaluatePython (const std::string &input, ParseContext &context) |
Evaluate a $(eval ...) python expression. More... | |
double | evaluateROSParamPython (const std::string &input) |
Evaluate a deg(...) rosparam expression. More... | |
std::tuple< uint64_t, bool > | parseMemory (const std::string &memory) |
static std::string | parseOneElement (const std::string &input, const HandlerMap &handlers, bool strict, bool *found) |
std::string | parseSubstitutionArgs (const std::string &input, ParseContext &context) |
template<class Iterator > | |
void | safeAdvance (Iterator &it, const Iterator &end, size_t i) |
XmlRpc::XmlRpcValue | yamlToXmlRpc (const ParseContext &ctx, const YAML::Node &n) |
Variables | |
const char * | UNSET_MARKER = "~~~~~ ROSMON-UNSET ~~~~~" |
using rosmon::launch::Handler = typedef std::function<std::string(const std::string&, const std::string&)> |
Definition at line 23 of file substitution.cpp.
using rosmon::launch::HandlerMap = typedef std::map<std::string, Handler> |
Definition at line 24 of file substitution.cpp.
Enumerator | |
---|---|
PARSER_IDLE | |
PARSER_DOLLAR | |
PARSER_INSIDE |
Definition at line 26 of file substitution.cpp.
|
static |
Definition at line 452 of file launch_config.cpp.
std::string rosmon::launch::evaluatePython | ( | const std::string & | input, |
ParseContext & | context | ||
) |
Evaluate a $(eval ...) python expression.
Definition at line 281 of file substitution_python.cpp.
double rosmon::launch::evaluateROSParamPython | ( | const std::string & | input | ) |
Evaluate a deg(...) rosparam expression.
Definition at line 288 of file substitution_python.cpp.
std::tuple< uint64_t, bool > rosmon::launch::parseMemory | ( | const std::string & | memory | ) |
Note: this uses 1 KB == 1000 Byte.
Definition at line 18 of file bytes_parser.cpp.
|
static |
Definition at line 95 of file substitution.cpp.
std::string rosmon::launch::parseSubstitutionArgs | ( | const std::string & | input, |
ParseContext & | context | ||
) |
Definition at line 166 of file substitution.cpp.
void rosmon::launch::safeAdvance | ( | Iterator & | it, |
const Iterator & | end, | ||
size_t | i | ||
) |
Definition at line 1027 of file launch_config.cpp.
XmlRpc::XmlRpcValue rosmon::launch::yamlToXmlRpc | ( | const ParseContext & | ctx, |
const YAML::Node & | n | ||
) |
Definition at line 40 of file yaml_params.cpp.
const char * rosmon::launch::UNSET_MARKER = "~~~~~ ROSMON-UNSET ~~~~~" |
Definition at line 32 of file launch_config.cpp.