/[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.1.1 - (show annotations) (download) (vendor branch)
Tue Sep 23 07:20:09 2008 UTC (16 years, 2 months ago) by mocchiut
Branch: v0r00, MAIN
CVS Tags: v1r02, v1r00, v1r01, start, v10RED, v9r00, v9r01, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Imported sources, 23/09/2008

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