AppCore
Loading...
Searching...
No Matches
StateFactory.h
Go to the documentation of this file.
1#ifndef _ESTATE_FACTORY_H_
2#define _ESTATE_FACTORY_H_
3
4#include <string>
5#include "core/common/ESingleton.h"
6
7class State;
8class StateManager;
9class StorageList;
10class QString;
11
15class StateFactory : public ESingleton<StateFactory>
16{
17public:
19 virtual ~StateFactory();
20
21 State *Create(const QString &stateName, StorageList &list );
23
24private:
26
27 class DataClass;
28 DataClass *d;
29
31};
32
33#endif // _ESTATE_FACTORY_H_
INTERNAL.
Definition StateFactory.cpp:34
factory class creating other states
Definition StateFactory.h:16
virtual ~StateFactory()
void RegisterState(State *)
State * Create(const QString &stateName, StorageList &list)
Definition StateManager.h:14
abstract interface class creating API for states.
Definition State.h:18
Definition StorageList.h:12