Clp trunk
|
00001 /* $Id$ */ 00002 // Copyright (C) 2004, International Business Machines 00003 // Corporation and others. All Rights Reserved. 00004 // This code is licensed under the terms of the Eclipse Public License (EPL). 00005 00006 #ifndef MyEventHandler_H 00007 #define MyEventHandler_H 00008 00009 #include "ClpEventHandler.hpp" 00010 00018 class MyEventHandler : public ClpEventHandler { 00019 00020 public: 00023 virtual int event(Event whichEvent); 00025 00029 MyEventHandler(); 00031 MyEventHandler(ClpSimplex * model); 00033 virtual ~MyEventHandler(); 00035 MyEventHandler(const MyEventHandler & rhs); 00037 MyEventHandler& operator=(const MyEventHandler & rhs); 00039 virtual ClpEventHandler * clone() const ; 00041 00042 00043 protected: 00044 // data goes here 00045 }; 00046 00047 #endif