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

CSlewManager Class Reference

#include <Situation.h>

List of all members.

Public Member Functions

 CSlewManager (void)
void Enable (void)
void Disable (void)
bool IsEnabled (void)
float GetNorthRate (void)
float GetEastRate (void)
float GetAltRate (void)
void SetNorthRate (float rate)
void SetEastRate (float rate)
void SetAltRate (float rate)
void ZeroRate (void)
void Update (float dT)

Protected Attributes

bool enabled
float nRate
float eRate
float aRate


Detailed Description

Definition at line 48 of file Situation.h.


Constructor & Destructor Documentation

CSlewManager::CSlewManager void   ) 
 

Definition at line 50 of file Situation.cpp.

References aRate, enabled, eRate, and nRate.


Member Function Documentation

void CSlewManager::Disable void   ) 
 

Definition at line 63 of file Situation.cpp.

References enabled, and ZeroRate().

Referenced by aircraft_slew_cb(), and KeySlew().

void CSlewManager::Enable void   ) 
 

Definition at line 57 of file Situation.cpp.

References enabled.

Referenced by aircraft_slew_cb(), and KeySlew().

float CSlewManager::GetAltRate void   ) 
 

Definition at line 86 of file Situation.cpp.

References aRate.

Referenced by KeySlewDown(), and KeySlewUp().

float CSlewManager::GetEastRate void   ) 
 

Definition at line 81 of file Situation.cpp.

References eRate.

Referenced by KeySlewLeft(), and KeySlewRight().

float CSlewManager::GetNorthRate void   ) 
 

Definition at line 76 of file Situation.cpp.

References nRate.

Referenced by KeySlewBackward(), and KeySlewForward().

bool CSlewManager::IsEnabled void   ) 
 

Definition at line 70 of file Situation.cpp.

References enabled.

Referenced by aircraft_slew_cb(), CFuiManager::Draw(), KeyAirplane(), KeySlew(), KeySlewBackward(), KeySlewBankLeft(), KeySlewBankRight(), KeySlewDown(), KeySlewForward(), KeySlewLeft(), KeySlewPitchDown(), KeySlewPitchUp(), KeySlewReorient(), KeySlewRight(), KeySlewRotateLeft(), KeySlewRotateLeft45(), KeySlewRotateRight(), KeySlewRotateRight45(), KeySlewStop(), and KeySlewUp().

void CSlewManager::SetAltRate float  rate  ) 
 

Definition at line 101 of file Situation.cpp.

References aRate.

Referenced by KeySlewDown(), and KeySlewUp().

void CSlewManager::SetEastRate float  rate  ) 
 

Definition at line 96 of file Situation.cpp.

References eRate.

Referenced by KeySlewLeft(), and KeySlewRight().

void CSlewManager::SetNorthRate float  rate  ) 
 

Definition at line 91 of file Situation.cpp.

References nRate.

Referenced by KeySlewBackward(), and KeySlewForward().

void CSlewManager::Update float  dT  ) 
 

Definition at line 111 of file Situation.cpp.

References SPosition::alt, aRate, enabled, eRate, CWorldObject::GetPosition(), CSituation::GetUserVehicle(), globals, SPosition::lat, SPosition::lon, nRate, CModelObject::SetPosition(), and SGlobals::sit.

Referenced by CSituation::Timeslice().

void CSlewManager::ZeroRate void   ) 
 

Definition at line 106 of file Situation.cpp.

References aRate, eRate, and nRate.

Referenced by Disable(), and KeySlewStop().


Member Data Documentation

float CSlewManager::aRate [protected]
 

Definition at line 70 of file Situation.h.

Referenced by CSlewManager(), GetAltRate(), SetAltRate(), Update(), and ZeroRate().

bool CSlewManager::enabled [protected]
 

Definition at line 67 of file Situation.h.

Referenced by CSlewManager(), Disable(), Enable(), IsEnabled(), and Update().

float CSlewManager::eRate [protected]
 

Definition at line 69 of file Situation.h.

Referenced by CSlewManager(), GetEastRate(), SetEastRate(), Update(), and ZeroRate().

float CSlewManager::nRate [protected]
 

Definition at line 68 of file Situation.h.

Referenced by CSlewManager(), GetNorthRate(), SetNorthRate(), Update(), and ZeroRate().


The documentation for this class was generated from the following files:
SourceForge.net Logo Documentation generated by doxygen