1 |
mocchiut |
1.1 |
/** @file |
2 |
|
|
* $Source: /repository/event/tmtc/TmtcEvent.cpp,v $ |
3 |
|
|
* $Id: TmtcEvent.cpp,v 1.1 2008-01-11 17:14:19 messineo Exp $ |
4 |
|
|
* $Author: messineo $ |
5 |
|
|
* |
6 |
|
|
* Implementation of the TmtcEvent class. |
7 |
|
|
*/ |
8 |
|
|
#include "TmtcEvent.h" |
9 |
|
|
|
10 |
|
|
using namespace pamela; |
11 |
|
|
TClonesArray *TmtcEvent::fgRecords = 0; |
12 |
|
|
|
13 |
|
|
TmtcEvent::TmtcEvent(void): SubPacket("Tmtc", PacketType::Tmtc) { |
14 |
|
|
if (!fgRecords) fgRecords = new TClonesArray("pamela::TmtcRecord", 1); |
15 |
|
|
Records = fgRecords; |
16 |
|
|
} |
17 |
|
|
|
18 |
|
|
TmtcEvent::~TmtcEvent(void) { |
19 |
|
|
} |
20 |
|
|
ClassImp(TmtcEvent) |