00001 /* $Id: MyEventHandler.hpp 1525 2010-02-26 17:27:59Z mjs $ */ 00002 // Copyright (C) 2004, International Business Machines 00003 // Corporation and others. All Rights Reserved. 00004 #ifndef MyEventHandler_H 00005 #define MyEventHandler_H 00006 00007 #include "ClpEventHandler.hpp" 00008 00016 class MyEventHandler : public ClpEventHandler { 00017 00018 public: 00021 virtual int event(Event whichEvent); 00023 00027 MyEventHandler(); 00029 MyEventHandler(ClpSimplex * model); 00031 virtual ~MyEventHandler(); 00033 MyEventHandler(const MyEventHandler & rhs); 00035 MyEventHandler& operator=(const MyEventHandler & rhs); 00037 virtual ClpEventHandler * clone() const ; 00039 00040 00041 protected: 00042 // data goes here 00043 }; 00044 00045 #endif