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

Contents of /chewbacca/PamOffLineSW/R4_HEADER_State.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Tue Sep 23 07:20:10 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 R4_HEADER_STATE_H_
2 #define R4_HEADER_STATE_H_
3
4 #include "State.h"
5
6 namespace PamOffLineSW
7 {
8
9 class R4_HEADER_State : public PamOffLineSW::State
10 {
11 public:
12 virtual ~R4_HEADER_State();
13 void readInput(char inputbyte);
14 static R4_HEADER_State& getInstance(){return instance;}
15
16 void initBufferPKT(char* headPKT);
17 void deleteBufferPKT();
18
19 private:
20 R4_HEADER_State();
21 static R4_HEADER_State instance;
22
23 //only the header
24 char* headerPKT;
25 //the header length
26 //LENGTH_HEADER_PKT
27 //only the pam packet without header
28 char* pamPKT;
29 //the packet length
30 long int pamPKT_length;
31 //where I am
32 long int posPamPKT;
33
34 bool isPKTGood;//if the packet is all good i.e. if all the cadres used are good
35
36 };
37
38 }
39
40 #endif /*R4_HEADER_STATE_H_*/

  ViewVC Help
Powered by ViewVC 1.1.23