Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MyEventHandler.hpp
Go to the documentation of this file.
1 /* $Id: MyEventHandler.hpp 1665 2011-01-04 17:55:54Z lou $ */
2 // Copyright (C) 2004, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
6 #ifndef MyEventHandler_H
7 #define MyEventHandler_H
8 
9 #include "ClpEventHandler.hpp"
10 
19 
20 public:
23  virtual int event(Event whichEvent);
25 
31  MyEventHandler(ClpSimplex * model);
33  virtual ~MyEventHandler();
35  MyEventHandler(const MyEventHandler & rhs);
39  virtual ClpEventHandler * clone() const ;
41 
42 
43 protected:
44  // data goes here
45 };
46 
47 #endif
Event
enums for what sort of event.
MyEventHandler & operator=(const MyEventHandler &rhs)
Assignment.
This solves LPs using the simplex method.
Definition: ClpSimplex.hpp:70
This is so user can trap events and do useful stuff.
virtual int event(Event whichEvent)
This can do whatever it likes.
virtual ~MyEventHandler()
Destructor.
Base class for Clp event handling.
virtual ClpEventHandler * clone() const
Clone.
MyEventHandler()
Default constructor.