29 std::cerr <<
className <<
": invalid value " << value <<
" for parameter " << parameter << std::endl;
33 Parameterised::Map::const_iterator par = parameters.find(parameter);
34 if (par != parameters.end()) {
43 Parameterised::Map::const_iterator par = parameters.find(parameter);
44 if (par != parameters.end()) {
53 Parameterised::Map::const_iterator par = parameters.find(parameter);
54 if (par != parameters.end()) {
double maxDeceleration_mpsps
void setMaximumAcceleration(double maxAcc)
void parseParameter(const Parameterised::Map ¶meters, std::string parameter, double &value)
void setMaximumDeceleration(double maxDec)
void printParameterError(std::string parameter, std::string value)
double maxAcceleration_mpsps
std::map< std::string, std::string > Map
parameters map
static double toDouble(const std::string &sData)
converts a string into the double value described by it by calling the char-type converter
static int toInt(const std::string &sData)
converts a string into the integer value described by it by calling the char-type converter,...