libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
NodeInterface.h
1 #ifndef MHO_NODEINTERFACE_H
2 #define MHO_NODEINTERFACE_H
3 
4 #include <vector>
5 #include "GraphCommon.h"
6 
7 namespace mho {
8 class EdgeInterface;
9 class GraphInterface;
10 \
12 {
13 public:
14 
15  //NodeInterface();
16  //virtual ~NodeInterface();
17 
18  virtual void connect(EdgeInterface *e) = 0;
19  //virtual std::vector<EdgeInterface*> sons(void) = 0;
20  virtual int getId(void) =0;
21 
22  virtual GraphInterface* getGraph(void)=0;
23  virtual void setGraph(GraphInterface * g)=0;
24 
25  virtual NodeInterface* clone(void)=0;
26 
27 };
28 
29 } // namespace mho
30 
31 #endif // MHO_NODEINTERFACE_H
Definition: NodeInterface.h:11
Definition: EdgeInterface.h:12
template interface for a graph
Definition: GraphInterface.h:13