![]() |
|
|||
File indexing completed on 2025-08-03 08:20:52
0001 #ifndef __PACKET_W124_H__ 0002 #define __PACKET_W124_H__ 0003 0004 #include "packet_A.h" 0005 #include "packetHeaders.h" 0006 #include <stddef.h> 0007 #include <stdlib.h> 0008 #include <string.h> 0009 0010 /** 0011 Based on the packet\_A definition, we build the 0012 other classes of packets, which are the base classes 0013 of packets with wordsizes 1, 2, and 4. 0014 0015 Note that this class can be instantiated and will be used if we 0016 encounter a packet with an as yet unknown decoding method, or if we 0017 want to customize the decoding step. It can still handle all the 0018 operations such as return raw data or envelope information, but none 0019 of those which require the data to be decoded. 0020 */ 0021 0022 #ifndef __CINT__ 0023 class WINDOWSEXPORT Packet_w1 : public Packet_A { 0024 #else 0025 class Packet_w1 : public Packet_A { 0026 #endif 0027 public: 0028 0029 Packet_w1(); 0030 Packet_w1(PACKET_ptr); 0031 0032 void dump ( OSTREAM& =COUT ) ; 0033 void gdump (const int how = EVT_HEXADECIMAL, OSTREAM& = COUT) const; 0034 0035 protected: 0036 inline int *decode (int *) {return 0;}; 0037 0038 }; 0039 0040 // ---------------------------------------------------- 0041 /** 0042 Based on the packet\_A definition, we build the 0043 other classes of packets, which are the base classes 0044 of packets with wordsizes 1, 2, and 4. 0045 0046 Note that this class can be instantiated and will be used if we 0047 encounter a packet with an as yet unknown decoding method, or if we 0048 want to customize the decoding step. It can still handle all the 0049 operations such as return raw data or envelope information, but none 0050 of those which require the data to be decoded. 0051 */ 0052 0053 #ifndef __CINT__ 0054 class WINDOWSEXPORT Packet_w2 : public Packet_A { 0055 #else 0056 class Packet_w2 : public Packet_A { 0057 #endif 0058 public: 0059 Packet_w2(); 0060 Packet_w2(PACKET_ptr); 0061 0062 void dump ( OSTREAM& ) ; 0063 void gdump (const int how = EVT_HEXADECIMAL, OSTREAM& = COUT) const; 0064 0065 protected: 0066 inline int *decode (int *) {return 0;}; 0067 }; 0068 0069 0070 // ---------------------------------------------------- 0071 0072 /** 0073 Based on the packet\_A definition, we build the 0074 other classes of packets, which are the base classes 0075 of packets with wordsizes 1, 2, and 4. 0076 0077 Note that this class can be instantiated and will be used if we 0078 encounter a packet with an as yet unknown decoding method, or if we 0079 want to customize the decoding step. It can still handle all the 0080 operations such as return raw data or envelope information, but none 0081 of those which require the data to be decoded. 0082 */ 0083 #ifndef __CINT__ 0084 class WINDOWSEXPORT Packet_w4 : public Packet_A { 0085 #else 0086 class Packet_w4 : public Packet_A { 0087 #endif 0088 public: 0089 0090 Packet_w4(); 0091 Packet_w4(PACKET_ptr); 0092 0093 0094 void dump ( OSTREAM& ) ; 0095 void gdump (const int how = EVT_HEXADECIMAL, OSTREAM& = COUT) const; 0096 0097 protected: 0098 inline int *decode (int *) {return 0;}; 0099 }; 0100 0101 0102 #endif /* __PACKET_W124_H__ */ 0103 0104 0105
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |