Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

O_SESSAME::EarthCentralBody Class Reference

#include <EarthCentralBody.h>

Inheritance diagram for O_SESSAME::EarthCentralBody:

Inheritance graph
[legend]
Collaboration diagram for O_SESSAME::EarthCentralBody:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EarthCentralBody ()
void SetMagneticModel (MagneticModel *_pNewMagModel)
virtual double GetAvgRotationRate ()
virtual double GetRadius ()
virtual double GetGravitationalParameter ()
Vector GetVector2Body (CentralBody *) const
 calculate the vector from the central body to another central body
Vector GetVector2Body (const OrbitState &_satOrbitState) const
 calculate the vector from the central body to a satellite
void ReleaseReference ()
 decrease the number of references to the central body pointer

Protected Member Functions

void GetReference ()
 increase the number of references to the central body pointer

Protected Attributes

double m_Radius
 radius of the central body, [km]
double m_Mass
 mass of the central body, [kg]
double m_GravitationalParameter
 gravitational parameter, $\mu$ [km^3/(solar s)^2]
double m_AtmHeight
double m_AvgRotationRate
 average rotation rate of the central body, [rad/s]
Vector m_GravitationalFieldConstants
int m_ReferenceCount
MagneticModelm_pMagneticFieldModel
MagneticFieldCoefficients m_MagFieldCoeffs

Constructor & Destructor Documentation

O_SESSAME::EarthCentralBody::EarthCentralBody  ) 
 

Definition at line 17 of file EarthCentralBody.cpp.

References O_SESSAME::MagneticFieldCoefficients::CBAvgRotationRate, O_SESSAME::MagneticFieldCoefficients::CBRadius, O_SESSAME::Deg2Rad(), O_SESSAME::MagneticFieldCoefficients::DipoleCoelevation, O_SESSAME::MagneticFieldCoefficients::DipoleEastLongitude, O_SESSAME::MagneticFieldCoefficients::H0, O_SESSAME::MagneticFieldCoefficients::modelEpoch, and O_SESSAME::ssfTime::SetEpoch().


Member Function Documentation

double O_SESSAME::CentralBody::GetAvgRotationRate  )  [inline, virtual, inherited]
 

Definition at line 43 of file CentralBody.cpp.

virtual double O_SESSAME::CentralBody::GetGravitationalParameter  )  [inline, virtual, inherited]
 

Definition at line 48 of file CentralBody.h.

Referenced by SetupEnvironment().

double O_SESSAME::CentralBody::GetRadius  )  [inline, virtual, inherited]
 

Definition at line 45 of file CentralBody.cpp.

void O_SESSAME::CentralBody::GetReference  )  [protected, inherited]
 

increase the number of references to the central body pointer

Definition at line 22 of file CentralBody.cpp.

Referenced by O_SESSAME::CentralBody::operator=().

Vector O_SESSAME::CentralBody::GetVector2Body const OrbitState _satOrbitState  )  const [inherited]
 

calculate the vector from the central body to a satellite

Vector O_SESSAME::CentralBody::GetVector2Body CentralBody  )  const [inherited]
 

calculate the vector from the central body to another central body

Referenced by ThirdBodyForceDisturbance().

void O_SESSAME::CentralBody::ReleaseReference  )  [inherited]
 

decrease the number of references to the central body pointer

Todo:
Check how to verify the number of references & delete the object

Definition at line 27 of file CentralBody.cpp.

References O_SESSAME::CentralBody::m_ReferenceCount.

Referenced by O_SESSAME::Environment::~Environment().

void O_SESSAME::CentralBody::SetMagneticModel MagneticModel _pNewMagModel  )  [inherited]
 

Definition at line 37 of file CentralBody.cpp.

References O_SESSAME::CentralBody::m_MagFieldCoeffs, O_SESSAME::CentralBody::m_pMagneticFieldModel, and O_SESSAME::MagneticModel::SetMagFieldCoefficients().

Referenced by SetupEnvironment().


Member Data Documentation

double O_SESSAME::CentralBody::m_AtmHeight [protected, inherited]
 

Definition at line 75 of file CentralBody.h.

double O_SESSAME::CentralBody::m_AvgRotationRate [protected, inherited]
 

average rotation rate of the central body, [rad/s]

Definition at line 76 of file CentralBody.h.

Vector O_SESSAME::CentralBody::m_GravitationalFieldConstants [protected, inherited]
 

Definition at line 77 of file CentralBody.h.

double O_SESSAME::CentralBody::m_GravitationalParameter [protected, inherited]
 

gravitational parameter, $\mu$ [km^3/(solar s)^2]

Definition at line 73 of file CentralBody.h.

MagneticFieldCoefficients O_SESSAME::CentralBody::m_MagFieldCoeffs [protected, inherited]
 

Definition at line 81 of file CentralBody.h.

Referenced by O_SESSAME::CentralBody::SetMagneticModel().

double O_SESSAME::CentralBody::m_Mass [protected, inherited]
 

mass of the central body, [kg]

Definition at line 72 of file CentralBody.h.

MagneticModel* O_SESSAME::CentralBody::m_pMagneticFieldModel [protected, inherited]
 

Definition at line 80 of file CentralBody.h.

Referenced by O_SESSAME::CentralBody::SetMagneticModel().

double O_SESSAME::CentralBody::m_Radius [protected, inherited]
 

radius of the central body, [km]

Definition at line 71 of file CentralBody.h.

int O_SESSAME::CentralBody::m_ReferenceCount [protected, inherited]
 

Definition at line 79 of file CentralBody.h.

Referenced by O_SESSAME::CentralBody::ReleaseReference().


The documentation for this class was generated from the following files:
Generated on Wed Sep 5 12:54:47 2007 for DSACSS Operational Code by  doxygen 1.3.9.1