| 1 | /** @file | /** @file | 
| 2 | * $Source: /home/cvspamela/yoda/event/tmtc/TmtcEvent.cpp,v $ | * $Source: /home/cvsmanager/yoda/event/tmtc/TmtcEvent.cpp,v $ | 
| 3 | * $Id: TmtcEvent.cpp,v 1.6 2004/03/16 10:18:28 nagni Exp $ | * $Id: TmtcEvent.cpp,v 5.0 2005/08/29 09:46:12 Maurizio Nagni Exp $ | 
| 4 | * $Author: nagni $ | * $Author: Maurizio Nagni $ | 
| 5 | * | * | 
| 6 | * Implementation of the TmtcEvent class. | * Implementation of the TmtcEvent class. | 
| 7 | */ | */ | 
| 10 | using namespace pamela; | using namespace pamela; | 
| 11 | TClonesArray *TmtcEvent::fgRecords = 0; | TClonesArray *TmtcEvent::fgRecords = 0; | 
| 12 |  |  | 
| 13 | TmtcEvent::TmtcEvent(void): SubPacket("Event", PacketType::Tmtc) { | TmtcEvent::TmtcEvent(void): SubPacket("Tmtc", PacketType::Tmtc) { | 
| 14 | Records = new TClonesArray("pamela::TmtcRecord", 1); | if (!fgRecords) fgRecords = new TClonesArray("pamela::TmtcRecord", 1); | 
| 15 | //Records = fgRecords; | Records = fgRecords; | 
| 16 | } | } | 
| 17 |  |  | 
| 18 | TmtcEvent::~TmtcEvent(void) { | TmtcEvent::~TmtcEvent(void) { |