00001 /* 00002 * $Revision: 2299 $ 00003 * 00004 * last checkin: 00005 * $Author: gutwenger $ 00006 * $Date: 2012-05-07 15:57:08 +0200 (Mon, 07 May 2012) $ 00007 ***************************************************************/ 00008 00040 #ifndef OGDF_FUPS_MODULE_H 00041 #define OGDF_FUPS_MODULE_H 00042 00043 #include <ogdf/basic/Module.h> 00044 #include <ogdf/upward/UpwardPlanRep.h> 00045 00046 namespace ogdf { 00047 00052 class OGDF_EXPORT FUPSModule : public Module 00053 { 00054 00055 public: 00056 00058 FUPSModule() { } 00059 00060 // destruction 00061 virtual ~FUPSModule() { } 00062 00073 ReturnType call(UpwardPlanRep &UPR, 00074 List<edge> &delEdges) 00075 { 00076 return doCall(UPR, delEdges); 00077 } 00078 00080 ReturnType operator()(UpwardPlanRep &UPR, 00081 List<edge> &delEdges) 00082 { 00083 return call(UPR, delEdges); 00084 } 00085 00086 00087 protected: 00098 virtual ReturnType doCall(UpwardPlanRep &UPR, 00099 List<edge> &delEdges) = 0; 00100 00101 OGDF_MALLOC_NEW_DELETE 00102 00103 }; 00104 00105 } // end namespace ogdf 00106 00107 #endif