1 |
//============================================================================ |
//============================================================================ |
2 |
// $Id: PacketSemanticAnalyzer.cpp,v 1.4 2009/07/24 13:53:37 mocchiut Exp $ |
// $Id: PacketSemanticAnalyzer.cpp,v 1.5 2009/07/30 08:16:20 mocchiut Exp $ |
3 |
// Description : |
// Description : |
4 |
//============================================================================ |
//============================================================================ |
5 |
#include "PacketSemanticAnalyzer.h" |
#include "PacketSemanticAnalyzer.h" |
60 |
//all the check can also be done using pamela::techmodel::EventReader* reader; |
//all the check can also be done using pamela::techmodel::EventReader* reader; |
61 |
//PacketUser::getInstance().reader->PKT_UnpackPscuHeader(hpamPkt); |
//PacketUser::getInstance().reader->PKT_UnpackPscuHeader(hpamPkt); |
62 |
//std::cout<<PacketUser::getInstance().reader->Header->GetPscuHeader()->Print()<<std::endl; |
//std::cout<<PacketUser::getInstance().reader->Header->GetPscuHeader()->Print()<<std::endl; |
63 |
//reader->Header->GetCounter()->PrintCounters(); |
//reader->Header->GetCounter()->PrintCounters(); |
64 |
//const PacketType* type = reader->Header->GetPscuHeader()->GetPacketType(); |
//const PacketType* type = reader->Header->GetPscuHeader()->GetPacketType(); |
65 |
//int len= reader->Header->GetPscuHeader()->GetPacketLenght(); |
//int len= reader->Header->GetPscuHeader()->GetPacketLenght(); |
66 |
//if(reader){delete reader; reader = NULL;} |
//if(reader){delete reader; reader = NULL;} |