MyEventHandler.hpp
Go to the documentation of this file.
1 /* $Id: MyEventHandler.hpp 1525 2010-02-26 17:27:59Z mjs $ */
2 // Copyright (C) 2004, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 #ifndef MyEventHandler_H
5 #define MyEventHandler_H
6 
7 #include "ClpEventHandler.hpp"
8 
17 
18 public:
21  virtual int event(Event whichEvent);
23 
29  MyEventHandler(ClpSimplex * model);
31  virtual ~MyEventHandler();
33  MyEventHandler(const MyEventHandler & rhs);
37  virtual ClpEventHandler * clone() const ;
39 
40 
41 protected:
42  // data goes here
43 };
44 
45 #endif
MyEventHandler()
Default constructor.
MyEventHandler & operator=(const MyEventHandler &rhs)
Assignment.
Event
enums for what sort of event.
This is so user can trap events and do useful stuff.
virtual int event(Event whichEvent)
This can do whatever it likes.
This solves LPs using the simplex method.
Definition: ClpSimplex.hpp:49
Base class for Clp event handling.
virtual ~MyEventHandler()
Destructor.
virtual ClpEventHandler * clone() const
Clone.