Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
rosmon::launch Namespace Reference

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 ~~~~~"
 

Typedef Documentation

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.

Enumeration Type Documentation

Enumerator
PARSER_IDLE 
PARSER_DOLLAR 
PARSER_INSIDE 

Definition at line 26 of file substitution.cpp.

Function Documentation

static XmlRpc::XmlRpcValue rosmon::launch::autoXmlRpcValue ( const std::string &  fullValue)
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.

Returns
Tuple memory in bytes and success

Definition at line 18 of file bytes_parser.cpp.

static std::string rosmon::launch::parseOneElement ( const std::string &  input,
const HandlerMap handlers,
bool  strict,
bool *  found 
)
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.

template<class Iterator >
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.

Variable Documentation

const char * rosmon::launch::UNSET_MARKER = "~~~~~ ROSMON-UNSET ~~~~~"

Definition at line 32 of file launch_config.cpp.



rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12