| 1 |
/** @file |
/** @file |
| 2 |
* $Source: /home/cvsmanager/yoda/event/tmtc/TmtcEvent.cpp,v $ |
* $Source: /home/cvsmanager/yoda/event/tmtc/TmtcEvent.cpp,v $ |
| 3 |
* $Id: TmtcEvent.cpp,v 4.4 2005/05/28 10:44:10 kusanagi Exp $ |
* $Id: TmtcEvent.cpp,v 5.1 2006/02/04 12:37:44 kusanagi Exp $ |
| 4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
| 5 |
* |
* |
| 6 |
* Implementation of the TmtcEvent class. |
* Implementation of the TmtcEvent class. |
| 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 |
if (!fgRecords) fgRecords = new TClonesArray("pamela::TmtcRecord", 1); |
if (!fgRecords) fgRecords = new TClonesArray("pamela::TmtcRecord", 1); |
| 15 |
Records = fgRecords; |
Records = fgRecords; |
| 16 |
} |
} |