/[PAMELA software]/yoda/event/mcmd/McmdRecord.h
ViewVC logotype

Diff of /yoda/event/mcmd/McmdRecord.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 2.2 by kusanagi, Thu Jan 13 14:45:45 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvspamela/yoda/event/mcmd/McmdRecord.h,v $   * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $
3   * $Id: McmdRecord.h,v 1.8 2004/04/22 15:51:03 nagni Exp $   * $Id: McmdRecord.h,v 2.1 2004/12/03 22:04:30 kusanagi Exp $
4   * $Author: nagni $   * $Author: kusanagi $
5   *   *
6   * Header file for the McmdRecord class.   * Header file for the McmdRecord class.
7   */   */
8  #ifndef MCMD_RECORD_H  #ifndef MCMD_RECORD_H
9  #define MCMD_RECORD_H  #define MCMD_RECORD_H
10    
11  #define UINT32 unsigned int  #include "event/SubPacket.h"
12  #define UINT16 unsigned short  #include <TArrayC.h>
 #define BYTE   unsigned char  
   
 #include <TObject.h>  
   
13    
14  namespace pamela {  namespace pamela {
15    /**    /**
# Line 31  namespace pamela { Line 27  namespace pamela {
27      int  Mcmd_Block_crc_ok;      int  Mcmd_Block_crc_ok;
28            
29      UINT16         SeqID;      UINT16         SeqID;
30      BYTE           Tbit;      UINT8          Tbit;
31      BYTE           ID1;      UINT8          ID1;
32      UINT16         McmdLength;      UINT16         McmdLength;
33      UINT32         TimeTag;      UINT32         TimeTag;
34      BYTE*          McmdData;      TArrayC       *McmdData;
35      BYTE           endID;      UINT8          endID;
36    
37    
38      McmdRecord(void);      McmdRecord(void);
39                    
40      void setMcmdData(const BYTE val[]) {      /*void setMcmdData(const BYTE val[]) {
41        if (McmdLength > 0){        if (McmdLength > 0){
42          McmdData = new BYTE[McmdLength];          McmdData = new BYTE[McmdLength];
43          memcpy(McmdData, val, McmdLength);          memcpy(McmdData, val, McmdLength);
44        }        }
45      };      };*/
46            
47      ClassDef(McmdRecord, 1)      ClassDef(McmdRecord, 1)
48    };    };

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.2.2

  ViewVC Help
Powered by ViewVC 1.1.23