35 #ifndef QPOASES_MESSAGEHANDLING_HPP 36 #define QPOASES_MESSAGEHANDLING_HPP 42 #include <qpOASES/Constants.hpp> 279 const char* additionaltext,
280 const char* functionname,
281 const char* filename,
282 const unsigned long linenumber,
293 const char* additionaltext,
294 const char* functionname,
295 const char* filename,
296 const unsigned long linenumber,
306 const char* additionaltext,
307 const char* functionname,
308 const char* filename,
309 const unsigned long linenumber,
384 const char* additionaltext,
385 const char* functionname,
386 const char* filename,
387 const unsigned long linenumber,
391 const char* RETstring
411 #define __FUNCTION__ 0 426 #define THROWERROR(retval) ( getGlobalMessageHandler( )->throwError((retval),0,__FUNCTION__,__FILE__,__LINE__,VS_VISIBLE) ) 429 #define THROWWARNING(retval) ( getGlobalMessageHandler( )->throwWarning((retval),0,__FUNCTION__,__FILE__,__LINE__,VS_VISIBLE) ) 432 #define THROWINFO(retval) ( getGlobalMessageHandler( )->throwInfo((retval),0,__FUNCTION__,__FILE__,__LINE__,VS_VISIBLE) ) 443 #include <qpOASES/MessageHandling.ipp> VisibilityStatus infoVisibility
returnValue throwError(returnValue Enumber, const char *additionaltext, const char *functionname, const char *filename, const unsigned long linenumber, VisibilityStatus localVisibilityStatus)
VisibilityStatus getInfoVisibilityStatus() const
VisibilityStatus getErrorVisibilityStatus() const
returnValue throwInfo(returnValue Inumber, const char *additionaltext, const char *functionname, const char *filename, const unsigned long linenumber, VisibilityStatus localVisibilityStatus)
Allows to pass back messages to the calling function.
VisibilityStatus getWarningVisibilityStatus() const
void setOutputFile(myFILE *_outputFile)
returnValue throwWarning(returnValue Wnumber, const char *additionaltext, const char *functionname, const char *filename, const unsigned long linenumber, VisibilityStatus localVisibilityStatus)
static const char * getErrorCodeMessage(const returnValue _returnValue)
VisibilityStatus warningVisibility
MessageHandling & operator=(const MessageHandling &rhs)
void setInfoVisibilityStatus(VisibilityStatus _infoVisibility)
returnValue setErrorCount(int _errorCount)
Handles all kind of error messages, warnings and other information.
Data structure for entries in returnValueList.
returnValue listAllMessages()
int getErrorCount() const
VisibilityStatus errorVisibility
void rhs(const real_t *x, real_t *f)
#define END_NAMESPACE_QPOASES
void setErrorVisibilityStatus(VisibilityStatus _errorVisibility)
MessageHandling * getGlobalMessageHandler()
myFILE * getOutputFile() const
returnValue throwMessage(returnValue RETnumber, const char *additionaltext, const char *functionname, const char *filename, const unsigned long linenumber, VisibilityStatus localVisibilityStatus, const char *RETstring)
void setWarningVisibilityStatus(VisibilityStatus _warningVisibility)
#define BEGIN_NAMESPACE_QPOASES