| RTXI 2.4 The Real-Time eXperiment Interface Documentation |
Go to the documentation of this file. 53 typedef unsigned long ID;
77 double loadDouble(
const std::string &name)
const;
85 std::string
loadString(
const std::string &name)
const;
89 void saveDouble(
const std::string &name,
double);
97 void saveString(
const std::string &name,
const std::string &value);
111 QDomElement
xml(QDomDocument &)
const;
115 void xml(
const QDomElement &);
120 std::map<std::string,std::string> paramMap;
121 std::map<std::string,State> stateMap;
139 State
save(
void)
const;
143 void load(
const State &);
197 int load(
const std::string &);
201 int save(
const std::string &);
207 Manager(
const Manager &) {};
208 Manager &operator=(
const Manager &)
213 static Manager *instance;
218 void insertObject(
Object *);
219 void removeObject(
Object *);
223 std::list<Object *> objectList;
224 std::map<Object::ID,Object *> objectMap;
QDomElement xml(QDomDocument &) const
static Manager * getInstance(void)
void deferred(const State &)
State loadState(const std::string &name) const
Object * getObject(Object::ID) const
double loadDouble(const std::string &name) const
void saveDouble(const std::string &name, double)
std::string loadString(const std::string &name) const
void saveString(const std::string &name, const std::string &value)
void foreachObject(void(*callback)(Object *, void *), void *param)
virtual void doLoad(const State &)
int loadInteger(const std::string &name) const
int load(const std::string &)
void saveInteger(const std::string &name, int)
int save(const std::string &)
virtual void doDeferred(const State &)
Objects for saving/loading setting information between sessions.
void saveState(const std::string &name, const State &value)
virtual void doSave(State &) const