Open
Graph Drawing
Framework

 v.2012.07
 

EmbedderModule.h
Go to the documentation of this file.
1 /*
2  * $Revision: 2546 $
3  *
4  * last checkin:
5  * $Author: gutwenger $
6  * $Date: 2012-07-04 21:16:17 +0200 (Mi, 04. Jul 2012) $
7  ***************************************************************/
8 
44 #ifdef _MSC_VER
45 #pragma once
46 #endif
47 
48 #ifndef OGDF_EMBEDDER_MODULE_H
49 #define OGDF_EMBEDDER_MODULE_H
50 
51 #include <ogdf/planarity/PlanRep.h>
52 #include <ogdf/basic/Module.h>
53 #include <ogdf/basic/Timeouter.h>
54 
55 namespace ogdf {
56 
65 class OGDF_EXPORT EmbedderModule : public Module, public Timeouter {
66 public:
69 
70  virtual ~EmbedderModule() { }
71 
78  virtual void call(Graph& G, adjEntry& adjExternal) = 0;
79 
81  void operator()(Graph& G, adjEntry& adjExternal) { call(G, adjExternal); }
82 
84 };
85 
86 } // end namespace ogdf
87 
88 #endif