Main Page
Classes
Files
File List
All
Classes
Functions
Typedefs
multipleVesselsMFD
SimulationTimeData.hpp
1
// ==============================================================
2
// ORBITER AUX LIBRARY: Multiple Vessels Support
3
// http://sf.net/projects/enjomitchsorbit
4
// Part of the ORBITER SDK
5
//
6
// Copyright (C) 2008 Mohd "Computerex" Ali - original concept
7
// Copyright (C) 2011 Szymon "Enjo" Ender - object oriented design,
8
// simplifications, fixes
9
// All rights reserved
10
//
11
// SimulationTimeData - Struct conataining read-only simulation times,
12
// passed to the client plugin
13
//
14
// Multiple Vessels Support is free software: you can redistribute it
15
// and/or modify it under the terms of the GNU Lesser General Public
16
// License as published by the Free Software Foundation, either version
17
// 3 of the License, or (at your option) any later version.
18
//
19
// Multiple Vessels Support is distributed in the hope that it will
20
// be useful, but WITHOUT ANY WARRANTY; without even the implied
21
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22
// See the GNU Lesser General Public License for more details.
23
//
24
// You should have received a copy of the GNU Lesser General Public
25
// License along with Multiple Vessels Support. If not, see
26
// <http://www.gnu.org/licenses/>.
27
// ==============================================================
28
29
#ifndef SIMULATIONTIMEDATA_HPP_INCLUDED
30
#define SIMULATIONTIMEDATA_HPP_INCLUDED
31
32
namespace
EnjoLib
33
{
34
namespace
MFDGoodies
35
{
37
43
class
SimulationTimeData
44
{
45
public
:
47
SimulationTimeData
(
double
simt,
double
simdt,
double
mjd);
48
50
double
GetSimT
()
const
;
52
double
GetSimDT
()
const
;
54
double
GetMJD
()
const
;
55
56
private
:
57
double
m_simt, m_simdt, m_mjd;
58
};
59
}
60
}
61
62
#endif // SIMULATIONTIMEDATA_HPP_INCLUDED
Generated on Sat Feb 23 2013 09:37:47 by
1.8.1.2