CONOPT
Loading...
Searching...
No Matches
Tut_MessageHandler Class Reference

Public Member Functions

 Tut_MessageHandler (std::string name)
 
 ~Tut_MessageHandler ()
 
virtual int message (int smsg, int dmsg, int nmsg, const std::vector< std::string > &msgv)
 
virtual int errorMessage (int rowno, int colno, int posno, const std::string &msg)
 
- Public Member Functions inherited from ConoptMessageHandler
 ConoptMessageHandler ()
 Constructor.
 
virtual ~ConoptMessageHandler ()
 Destructor.
 
virtual int progress (const ConoptAlgProgress &progressdata)
 
int sendMessage (std::string msg)
 sends a message to the message handler
 
void setVerbosityLevel (ConoptVerbosityLevel verblevel)
 sets the verbosity level for messaging.
 

Detailed Description

Definition at line 13 of file std.cpp.

Constructor & Destructor Documentation

◆ Tut_MessageHandler()

Tut_MessageHandler::Tut_MessageHandler ( std::string name)
inline

Definition at line 16 of file std.cpp.

◆ ~Tut_MessageHandler()

Tut_MessageHandler::~Tut_MessageHandler ( )
inline

Definition at line 23 of file std.cpp.

Member Function Documentation

◆ message()

virtual int Tut_MessageHandler::message ( int smsg,
int dmsg,
int nmsg,
const std::vector< std::string > & msgv )
inlinevirtual

callback method for handling the messages. This can be redefined by the user for alternative message handling

Parameters
smsgThe number of lines in the message that should go to the Screen file. Between 0 and 30.
dmsgThe number of lines in the message that should go to the Status file. Between 0 and 30.
nmsgThe number of lines in the message that should go to the Documentation file. Between 0 and 30.
msgvVector with the actual message lines.

Reimplemented from ConoptMessageHandler.

Definition at line 31 of file std.cpp.

◆ errorMessage()

virtual int Tut_MessageHandler::errorMessage ( int rowno,
int colno,
int posno,
const std::string & msg )
inlinevirtual

callback method for handling error messages. This can be redefined by the user for alternative message handling

Parameters
rownoThe number of a row in the matrix.
colnoThe number of a column in the matrix.
posnoThe number of a Jacobian element in the matrix.
msgThe actual message.

Reimplemented from ConoptMessageHandler.

Definition at line 64 of file std.cpp.


The documentation for this class was generated from the following file: