#include <MyEventHandler.hpp>
Inheritance diagram for MyEventHandler:

Public Methods | |
Overrides | |
| virtual int | event (Event whichEvent) |
| This can do whatever it likes. | |
Constructors, destructor etc | |
| MyEventHandler () | |
| Default constructor. | |
| MyEventHandler (ClpSimplex *model) | |
| Constructor with pointer to model (redundant as setEventHandler does). | |
| virtual | ~MyEventHandler () |
| Destructor. | |
| MyEventHandler (const MyEventHandler &rhs) | |
| The copy constructor. | |
| MyEventHandler & | operator= (const MyEventHandler &rhs) |
| Assignment. | |
| virtual ClpEventHandler * | clone () const |
| Clone. | |
This is used in Clp/Test/unitTest.cpp
ClpSimplex model_ is available as well as anything else you care to pass in
Definition at line 15 of file MyEventHandler.hpp.
|
|
Default constructor.
|
|
|
Constructor with pointer to model (redundant as setEventHandler does).
|
|
|
Destructor.
|
|
|
The copy constructor.
|
|
|
This can do whatever it likes. If return code -1 then carries on if 0 sets ClpModel::status() to 5 (stopped by event) and will return to user. At present if <-1 carries on and if >0 acts as if 0 - this may change Reimplemented from ClpEventHandler. |
|
|
Assignment.
|
|
|
Clone.
Reimplemented from ClpEventHandler. |
1.3-rc2