00001 // Date : 30/05/2005 00002 // Author : N.Almeida (LIP) 00003 00004 #ifndef DCCTBTRAILERBLOCK_HH 00005 #define DCCTBTRAILERBLOCK_HH 00006 00007 00008 #include "DCCBlockPrototype.h" 00009 class DCCDataParser; 00010 00011 class DCCTBTrailerBlock : public DCCTBBlockPrototype { 00012 00013 public : 00014 00015 DCCTBTrailerBlock( 00016 DCCTBDataParser * parser, 00017 ulong * buffer, 00018 ulong numbBytes, 00019 ulong wToEnd, 00020 ulong wordEventOffset, 00021 ulong expectedLength, 00022 ulong expectedCRC 00023 ); 00024 00025 void dataCheck(); 00026 00027 00028 protected : 00029 00030 enum traillerFields{ EOE = 0xA}; 00031 ulong expectedLength_; 00032 ulong expectedCRC_; 00033 00034 00035 }; 00036 00037 #endif 00038