/[PAMELA software]/chewbacca/PamOffLineSW/StateManager.h
ViewVC logotype

Contents of /chewbacca/PamOffLineSW/StateManager.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 23 07:20:09 2008 UTC (16 years, 2 months ago) by mocchiut
Branch point for: v0r00, MAIN
File MIME type: text/plain
Initial revision

1 #ifndef STATEMANAGER_H_
2 #define STATEMANAGER_H_
3 #include "State.h"
4
5 namespace PamOffLineSW
6 {
7
8 class StateManager
9 {
10 public:
11 virtual ~StateManager();
12 void changeState(State* state);//set currentstate
13 static StateManager& getInstance();
14 void init();
15 State* getCurrentState();
16 private:
17 StateManager();
18 State* currentState;
19 static StateManager instance;
20
21 };
22
23 }
24
25 #endif /*STATEMANAGER_H_*/

  ViewVC Help
Powered by ViewVC 1.1.23