84 {
RET_ASSERTION,
"An assertion has been violated", VS_VISIBLE },
214 {
RET_ILLFORMED_ODE,
"ODE needs to depend on all differential states", VS_VISIBLE },
240 {
RET_NOT_FROZEN,
"The mesh is not frozen and/or forward results not stored", VS_VISIBLE },
293 {
RET_UNABLE_TO_INTEGRATE_SYSTEM,
"Integration of dynamic system failed. Try to adjust integrator tolerances using set( ABSOLUTE_TOLERANCE,<double> ) and set( INTEGRATOR_TOLERANCE,<double> )", VS_VISIBLE },
294 {
RET_NEED_TO_ACTIVATE_RTI,
"Feedback step requires real-time iterations to be activated. Use set( USE_REALTIME_ITERATIONS,YES ) to do so", VS_VISIBLE },
316 {
RET_QP_UNBOUNDED,
"QP solution failed due to unboundedness", VS_VISIBLE },
318 {
RET_RELAXING_QP,
"QP needs to be relaxed due to infeasibility", VS_VISIBLE },
410 data->messages.push_back(msg);
458 return type != cmp_type;
465 return type == cmp_type;
500 returnValue::operator int() {
523 #ifdef ACADO_WITH_TESTING 588 cout <<
" " << (*it) << endl;
returnValue was not yet handled by user
Returned value is a information.
Lowest level, the debug level.
const char * returnValueTypeToString(returnValueType type)
returnValue & addMessage(const char *msg)
returnValueLevel getLevel() const
returnValue & changeLevel(returnValueLevel level)
Allows to pass back messages to the calling function.
std::vector< const char * > messages
Returned value is a error.
#define CLOSE_NAMESPACE_ACADO
returnValueType
Defines all symbols for global return values.
Returned value is a warning.
bool operator==(returnValueType cmp_type) const
ReturnValueList returnValueList[]
Defines all pairs of global return values and messages within the ACADO Toolkit.
Data structure for entries in returnValueList.
VisibilityStatus globalVisibilityStatus
Returned value is a fatal error, assert like use, aborts execution is unhandled.
returnValue & operator=(const returnValue &old)
std::ostream & get(returnValueLevel level)
bool operator!=(returnValueType cmp_type) const
const char * returnValueLevelToString(returnValueLevel level)
returnValue & changeType(returnValueType type)
#define BEGIN_NAMESPACE_ACADO
returnValue was handled by user