TactileVestProject  V1.0
Tactile user interface configuration tool
 All Classes Functions
AttireConfig.h
1 /*******************************************
2  *
3  * AttireConfig.h
4  *
5  * Designed to allow the saving and loading
6  * of XML config files to allow quick
7  * configuration of the attire.
8  *
9  *
10  *******************************************/
11 
12 #ifndef ATTIRE_CONFIG_H
13 #define ATTIRE_CONFIG_H
14 #include <QString>
15 #include <QVector>
16 
17 #include "TactorNode.h"
18 
20 {
21 public:
22  AttireConfig();
23  void saveConfig(QList<Node*> nodes);
24  QList<Node*> readConfig(const QString& f = "");
25 
26 
27 private:
28  QString xmlString;
29 
30  void createRootTag();
31  void createRootEndTag();
32  void createTactorTag();
33  void createTactorEndTag();
34  void createIdTag(const QString& id);
35  void createLocationTags(osg::Vec3d point);
36 };
37 
38 #endif // ATTIRE_CONFIG_H
QList< Node * > readConfig(const QString &f="")
Definition: AttireConfig.cpp:65
AttireConfig()
AttireConfig::AttireConfig.
Definition: AttireConfig.cpp:27
void saveConfig(QList< Node * > nodes)
Definition: AttireConfig.cpp:37
Definition: AttireConfig.h:19