00001 // Copyright (C) 2004, International Business Machines 00002 // Corporation and others. All Rights Reserved. 00003 #ifndef MyEventHandler_H 00004 #define MyEventHandler_H 00005 00006 #include "ClpEventHandler.hpp" 00007 00015 class MyEventHandler : public ClpEventHandler { 00016 00017 public: 00020 virtual int event(Event whichEvent); 00022 00026 MyEventHandler(); 00028 MyEventHandler(ClpSimplex * model); 00030 virtual ~MyEventHandler(); 00032 MyEventHandler(const MyEventHandler & rhs); 00034 MyEventHandler& operator=(const MyEventHandler & rhs); 00036 virtual ClpEventHandler * clone() const ; 00038 00039 00040 protected: 00041 // data goes here 00042 }; 00043 00044 #endif