35 #ifndef QPOASES_MESSAGEHANDLING_H 36 #define QPOASES_MESSAGEHANDLING_H 46 #define assert(ignore)((void) 0); 56 #define stdFile stderr 295 const char* additionaltext,
296 const char* functionname,
297 const char* filename,
298 const unsigned long linenumber,
310 const char* additionaltext,
311 const char* functionname,
312 const char* filename,
313 const unsigned long linenumber,
324 const char* additionaltext,
325 const char* functionname,
326 const char* filename,
327 const unsigned long linenumber,
401 const char* additionaltext,
402 const char* functionname,
403 const char* filename,
404 const unsigned long linenumber,
408 const char* RETstring
424 #define __FUNC__ ("(no function name provided)") 430 #define THROWERROR(retval) ( MessageHandling_throwError( qpOASES_getGlobalMessageHandler(),(retval),0,__FUNC__,__FILE__,__LINE__,VS_VISIBLE) ) 433 #define THROWWARNING(retval) ( MessageHandling_throwWarning( qpOASES_getGlobalMessageHandler(),(retval),0,__FUNC__,__FILE__,__LINE__,VS_VISIBLE) ) 436 #define THROWINFO(retval) ( MessageHandling_throwInfo( qpOASES_getGlobalMessageHandler(),(retval),0,__FUNC__,__FILE__,__LINE__,VS_VISIBLE) ) 531 if ( _errorCount >= 0 )
VisibilityStatus infoVisibility
static returnValue MessageHandling_setErrorCount(MessageHandling *_THIS, int _errorCount)
void MessageHandlingCPY(MessageHandling *FROM, MessageHandling *TO)
static void MessageHandling_setOutputFile(MessageHandling *_THIS, FILE *_outputFile)
Allows to pass back messages to the calling function.
static FILE * MessageHandling_getOutputFile(MessageHandling *_THIS)
returnValue MessageHandling_throwMessage(MessageHandling *_THIS, returnValue RETnumber, const char *additionaltext, const char *functionname, const char *filename, const unsigned long linenumber, VisibilityStatus localVisibilityStatus, const char *RETstring)
returnValue MessageHandling_throwWarning(MessageHandling *_THIS, returnValue Wnumber, const char *additionaltext, const char *functionname, const char *filename, const unsigned long linenumber, VisibilityStatus localVisibilityStatus)
returnValue MessageHandling_throwInfo(MessageHandling *_THIS, returnValue Inumber, const char *additionaltext, const char *functionname, const char *filename, const unsigned long linenumber, VisibilityStatus localVisibilityStatus)
const char * MessageHandling_getErrorCodeMessage(MessageHandling *_THIS, const returnValue _returnValue)
returnValue MessageHandling_reset(MessageHandling *_THIS)
VisibilityStatus warningVisibility
static void MessageHandling_setInfoVisibilityStatus(MessageHandling *_THIS, VisibilityStatus _infoVisibility)
static VisibilityStatus MessageHandling_getInfoVisibilityStatus(MessageHandling *_THIS)
Handles all kind of error messages, warnings and other information.
Data structure for entries in returnValueList.
static VisibilityStatus MessageHandling_getErrorVisibilityStatus(MessageHandling *_THIS)
void MessageHandlingCON(MessageHandling *_THIS, FILE *_outputFile, VisibilityStatus _errorVisibility, VisibilityStatus _warningVisibility, VisibilityStatus _infoVisibility)
returnValue MessageHandling_throwError(MessageHandling *_THIS, returnValue Enumber, const char *additionaltext, const char *functionname, const char *filename, const unsigned long linenumber, VisibilityStatus localVisibilityStatus)
VisibilityStatus errorVisibility
static void MessageHandling_setErrorVisibilityStatus(MessageHandling *_THIS, VisibilityStatus _errorVisibility)
static void MessageHandling_setWarningVisibilityStatus(MessageHandling *_THIS, VisibilityStatus _warningVisibility)
#define END_NAMESPACE_QPOASES
returnValue MessageHandling_listAllMessages(MessageHandling *_THIS)
MessageHandling * qpOASES_getGlobalMessageHandler()
static VisibilityStatus MessageHandling_getWarningVisibilityStatus(MessageHandling *_THIS)
returnValue
Defines all symbols for global return values.
static int MessageHandling_getErrorCount(MessageHandling *_THIS)
#define BEGIN_NAMESPACE_QPOASES