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 00043 #ifdef _MSC_VER 00044 #pragma once 00045 #endif 00046 00047 #ifndef OGDF_EMBEDDER_MODULE_H 00048 #define OGDF_EMBEDDER_MODULE_H 00049 00050 #include <ogdf/planarity/PlanRep.h> 00051 #include <ogdf/basic/Module.h> 00052 #include <ogdf/basic/Timeouter.h> 00053 00054 namespace ogdf { 00055 00066 class OGDF_EXPORT EmbedderModule : public Module, public Timeouter { 00067 public: 00069 EmbedderModule() { } 00070 00071 virtual ~EmbedderModule() { } 00072 00079 virtual void call(PlanRep& PG, adjEntry& adjExternal) = 0; 00080 00082 void operator()(PlanRep& PG, adjEntry& adjExternal) { call(PG, adjExternal); } 00083 00084 OGDF_MALLOC_NEW_DELETE 00085 }; 00086 00087 } // end namespace ogdf 00088 00089 #endif