/[PAMELA software]/yoda/techmodel/PscuReader.cpp
ViewVC logotype

Diff of /yoda/techmodel/PscuReader.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 2.0 by kusanagi, Tue Sep 21 20:50:54 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvspamela/yoda/techmodel/PscuReader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/PscuReader.cpp,v $
3   * $Id: PscuReader.cpp,v 1.6 2004/03/16 10:18:28 nagni Exp $   * $Id: PscuReader.cpp,v 1.2 2004/09/21 20:24:33 kusanagi Exp $
4   * $Author: nagni $   * $Author: kusanagi $
5   *   *
6   * Implementation of the OrbitalReader class.   * Implementation of the OrbitalReader class.
7   */   */
8    
9  #include <string>  #include <string>
10  #include <log4cpp/Category.hh>  #include <log4cxx/logger.h>
11    
12  #include "ReaderAlgorithms.h"  #include "ReaderAlgorithms.h"
13    
14  using namespace pamela;  using namespace pamela;
15  using namespace pamela::techmodel;  using namespace pamela::techmodel;
16    
17  static log4cpp::Category& cat = log4cpp::Category::getInstance("pamela.techmodel.PscuReader");    static LoggerPtr logger = Logger::getLogger(_T("pamela.techmodel.PscuReader"));
18    
19  /**  /**
20   * Constructor.   * Constructor.
21   */   */
22  PscuReader::PscuReader(void):  PscuReader::PscuReader(void):
23    TechmodelAlgorithm(PacketType::Pscu, "TechmodelPscuReader") {    TechmodelAlgorithm(PacketType::Pscu, "TechmodelPscuReader") {
24    cat.debug("Constructor");    logger->debug(_T("Constructor"));
25    Pscu = new PscuEvent();    Pscu = new PscuEvent();
26  }  }
27    
# Line 30  PscuReader::PscuReader(void): Line 30  PscuReader::PscuReader(void):
30   */   */
31  std::string PscuReader::GetVersionInfo(void) const {  std::string PscuReader::GetVersionInfo(void) const {
32    return    return
33      "$Header: /home/cvspamela/yoda/techmodel/PscuReader.cpp,v 1.6 2004/03/16 10:18:28 nagni Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/PscuReader.cpp,v 1.2 2004/09/21 20:24:33 kusanagi Exp $\n";
34  }  }
35    
36  /**  /**
# Line 40  std::string PscuReader::GetVersionInfo(v Line 40  std::string PscuReader::GetVersionInfo(v
40  void PscuReader::Init(PamelaRun *run) {  void PscuReader::Init(PamelaRun *run) {
41    SetInputStream(run);    SetInputStream(run);
42    run->WriteSubPacket(this, &Pscu, Pscu->Class());    run->WriteSubPacket(this, &Pscu, Pscu->Class());
43      logger->debug(_T("Initialize"));
44  }  }
45    
46  /**  /**

Legend:
Removed from v.1.1  
changed lines
  Added in v.2.0

  ViewVC Help
Powered by ViewVC 1.1.23