/[PAMELA software]/DarthVader/OrbitalInfo/src/OrbitalInfo.cpp
ViewVC logotype

Diff of /DarthVader/OrbitalInfo/src/OrbitalInfo.cpp

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

revision 1.2 by mocchiut, Wed Jun 14 09:52:54 2006 UTC revision 1.4 by pam-fi, Fri Jul 21 10:59:13 2006 UTC
# Line 7  OrbitalInfo::OrbitalInfo(){ Line 7  OrbitalInfo::OrbitalInfo(){
7  }  }
8    
9    
10    void OrbitalInfo::Clear(){
11      absTime = 0ULL;
12      OBT = 0ULL;
13      pkt_num = 0ULL;
14    }
15    
16    /**
17     * Fills a struct cOrbitalInfo with values from a OrbitalInfo object (to put data into a F77 common).
18     */
19    void OrbitalInfo::GetLevel2Struct(cOrbitalInfo *l2) const{
20      l2->abstime  = absTime;
21      l2->obt      = OBT;
22      l2->pkt_num  = pkt_num;
23    }
24    
25    void OrbitalInfo::SetFromLevel2Struct(cOrbitalInfo *l2){
26      absTime  = l2->abstime;
27      OBT      = l2->obt;
28      pkt_num  = l2->pkt_num;
29    }
30    
31  ClassImp(OrbitalInfo)  ClassImp(OrbitalInfo)
32    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23