TactileVestProject  V1.0
Tactile user interface configuration tool
 All Classes Functions
NodeManager.h
1 #ifndef NODEMANAGER_H
2 #define NODEMANAGER_H
3 
4 #include <QList>
5 #include <QMap>
6 #include "Node.h"
7 
8 //TODO ids are always integer
10 {
11 protected:
12  QMap<QString, Node*> definedNodes;
13 
14 public:
15  NodeManager();
16 
17  Node* getNode(const QString& id);
18 
19  bool isDefined(const QString& id);
20 
21  void addNode(Node* node);
22 
23  void removeNode(const QString& id);
24  void removeNode(Node* node);
25 
26  QList<Node*> getNodes();
27 };
28 
29 #endif // NODEMANAGER_H
Definition: Node.h:9
Definition: NodeManager.h:9