Parent Directory | Revision Log
Error proof version. Implemented all detectors packets plus all the main telemetries packets. Missing all the Init and Alarm packets. Disabled CRC control on VarDump, ArrDump, TabDump for CPU debugging needs (the data formats seems correct even if CRC get wrong)
1 | kusanagi | 1.1 | /** @file |
2 | kusanagi | 1.2 | * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $ |
3 | kusanagi | 3.0 | * $Id: McmdRecord.h,v 2.2 2005/01/13 14:45:45 kusanagi Exp $ |
4 | kusanagi | 1.2 | * $Author: kusanagi $ |
5 | kusanagi | 1.1 | * |
6 | * Header file for the McmdRecord class. | ||
7 | */ | ||
8 | #ifndef MCMD_RECORD_H | ||
9 | #define MCMD_RECORD_H | ||
10 | |||
11 | kusanagi | 2.1 | #include "event/SubPacket.h" |
12 | kusanagi | 1.2 | #include <TArrayC.h> |
13 | kusanagi | 1.1 | |
14 | namespace pamela { | ||
15 | /** | ||
16 | * McmdRecord data Wrapper | ||
17 | */ | ||
18 | class McmdRecord: public TObject { | ||
19 | |||
20 | public: | ||
21 | /** | ||
22 | * Get the run name according to a certain run number. | ||
23 | * @param run Run number. | ||
24 | * @return a string with the run name. | ||
25 | */ | ||
26 | UINT32 MCMD_RECORD_OBT; | ||
27 | int Mcmd_Block_crc_ok; | ||
28 | |||
29 | UINT16 SeqID; | ||
30 | kusanagi | 2.2 | UINT8 Tbit; |
31 | UINT8 ID1; | ||
32 | kusanagi | 1.1 | UINT16 McmdLength; |
33 | UINT32 TimeTag; | ||
34 | kusanagi | 1.2 | TArrayC *McmdData; |
35 | kusanagi | 2.2 | UINT8 endID; |
36 | kusanagi | 1.1 | |
37 | |||
38 | McmdRecord(void); | ||
39 | |||
40 | kusanagi | 1.2 | /*void setMcmdData(const BYTE val[]) { |
41 | kusanagi | 1.1 | if (McmdLength > 0){ |
42 | McmdData = new BYTE[McmdLength]; | ||
43 | memcpy(McmdData, val, McmdLength); | ||
44 | } | ||
45 | kusanagi | 1.2 | };*/ |
46 | kusanagi | 1.1 | |
47 | ClassDef(McmdRecord, 1) | ||
48 | }; | ||
49 | } | ||
50 | |||
51 | #endif /* MCMD_RECORD_H */ | ||
52 |
ViewVC Help | |
Powered by ViewVC 1.1.23 |