1 |
/** @file |
2 |
* $Source: /home/cvspamela/yoda/event/OrbitalEvent.h,v $ |
3 |
* $Id: OrbitalEvent.h,v 1.6 2004/03/16 10:18:28 nagni Exp $ |
4 |
* $Author: nagni $ |
5 |
* |
6 |
* Header file for the OrbitalEvent class. |
7 |
*/ |
8 |
#ifndef ORBITAL_EVENT_H |
9 |
#define ORBITAL_EVENT_H |
10 |
|
11 |
#include "SubPacket.h" |
12 |
|
13 |
namespace pamela { |
14 |
/** |
15 |
* Information events about the orbit. |
16 |
*/ |
17 |
class OrbitalEvent: public pamela::SubPacket { |
18 |
private: |
19 |
int Time; /**< Orbit time. */ |
20 |
int Orbit; /**< Orbit number. */ |
21 |
float Height; /**< Height above N.N. in meters. */ |
22 |
public: |
23 |
OrbitalEvent(void); |
24 |
/** Get the orbit time. */ |
25 |
int GetTime(void) const { return Time; } |
26 |
/** Get the orbit number. */ |
27 |
int GetOrbit(void) const { return Orbit; } |
28 |
/** Get the height of the satellite in meters. */ |
29 |
float GetHeight(void) const { return Height; } |
30 |
void Set(int, int, float); |
31 |
ClassDef(OrbitalEvent, 1) |
32 |
}; |
33 |
} |
34 |
|
35 |
#endif /* ORBITAL_EVENT_H */ |
36 |
|