1 |
#ifndef R3_FAFEDE_STATE_H_ |
2 |
#define R3_FAFEDE_STATE_H_ |
3 |
|
4 |
#include "State.h" |
5 |
//#include "PamInclude.h" |
6 |
|
7 |
namespace PamOffLineSW |
8 |
{ |
9 |
class R3_FAFEDE_State : public PamOffLineSW::State |
10 |
{ |
11 |
public: |
12 |
virtual ~R3_FAFEDE_State(); |
13 |
void readInput(char inputbyte); |
14 |
static R3_FAFEDE_State& getInstance(){return instance;} |
15 |
private: |
16 |
R3_FAFEDE_State(); |
17 |
static R3_FAFEDE_State instance; |
18 |
void initHeaderPKT(); |
19 |
void resetHeaderPKT(); |
20 |
char headerPKT[LENGTH_HEADER_PKT]; |
21 |
static int posHeaderPKT; |
22 |
|
23 |
}; |
24 |
} |
25 |
#endif /*R3_FAFEDE_STATE_H_*/ |