FlightGear next
NearestCarrierToNotification Class Reference

#include <AINotifications.hxx>

Inherits simgear::Emesary::INotification.

Public Member Functions

 NearestCarrierToNotification (SGGeod _comparisonPosition)
 
const char * GetType () override
 
const SGGeod * GetPosition () const
 
double GetHeading () const
 
double GetVckts () const
 
double GetDeckheight () const
 
const class FGAICarrierGetCarrier () const
 
double GetDistanceMeters () const
 
std::string GetCarrierIdent () const
 
double GetDistanceToMeters (const SGGeod &pos) const
 
void SetPosition (SGGeod *_position)
 
void SetHeading (double _heading)
 
void SetVckts (double _vckts)
 
void SetDeckheight (double _deckheight)
 
void SetCarrier (FGAICarrier *_carrier, SGGeod *_position)
 
void SetDistanceMeters (double _distanceMeters)
 
void SetCarrierIdent (const std::string &_carrierIdent)
 
SGPropertyNode_ptr GetViewPositionLatNode ()
 
SGPropertyNode_ptr GetViewPositionLonNode ()
 
SGPropertyNode_ptr GetViewPositionAltNode ()
 
void SetViewPositionLatNode (SGPropertyNode_ptr _viewPositionLatNode)
 
void SetViewPositionLonNode (SGPropertyNode_ptr _viewPositionLonNode)
 
void SetViewPositionAltNode (SGPropertyNode_ptr _viewPositionAltNode)
 

Protected Attributes

SGGeod * position
 
SGGeod comparisonPosition
 
SGPropertyNode_ptr viewPositionLatDegNode
 
SGPropertyNode_ptr viewPositionLonDegNode
 
SGPropertyNode_ptr viewPositionAltFtNode
 
double heading
 
double vckts
 
double deckheight
 
double distanceMeters
 
std::string carrierIdent
 
class FGAICarriercarrier
 

Detailed Description

Definition at line 14 of file AINotifications.hxx.

Constructor & Destructor Documentation

◆ NearestCarrierToNotification()

NearestCarrierToNotification::NearestCarrierToNotification ( SGGeod _comparisonPosition)
inlineexplicit

Definition at line 17 of file AINotifications.hxx.

Member Function Documentation

◆ GetCarrier()

const class FGAICarrier * NearestCarrierToNotification::GetCarrier ( ) const
inline

Definition at line 39 of file AINotifications.hxx.

◆ GetCarrierIdent()

std::string NearestCarrierToNotification::GetCarrierIdent ( ) const
inline

Definition at line 41 of file AINotifications.hxx.

◆ GetDeckheight()

double NearestCarrierToNotification::GetDeckheight ( ) const
inline

Definition at line 38 of file AINotifications.hxx.

◆ GetDistanceMeters()

double NearestCarrierToNotification::GetDistanceMeters ( ) const
inline

Definition at line 40 of file AINotifications.hxx.

◆ GetDistanceToMeters()

double NearestCarrierToNotification::GetDistanceToMeters ( const SGGeod & pos) const
inline

Definition at line 42 of file AINotifications.hxx.

◆ GetHeading()

double NearestCarrierToNotification::GetHeading ( ) const
inline

Definition at line 36 of file AINotifications.hxx.

◆ GetPosition()

const SGGeod * NearestCarrierToNotification::GetPosition ( ) const
inline

Definition at line 35 of file AINotifications.hxx.

◆ GetType()

const char * NearestCarrierToNotification::GetType ( )
inlineoverride

Definition at line 33 of file AINotifications.hxx.

◆ GetVckts()

double NearestCarrierToNotification::GetVckts ( ) const
inline

Definition at line 37 of file AINotifications.hxx.

◆ GetViewPositionAltNode()

SGPropertyNode_ptr NearestCarrierToNotification::GetViewPositionAltNode ( )
inline

Definition at line 67 of file AINotifications.hxx.

◆ GetViewPositionLatNode()

SGPropertyNode_ptr NearestCarrierToNotification::GetViewPositionLatNode ( )
inline

Definition at line 65 of file AINotifications.hxx.

◆ GetViewPositionLonNode()

SGPropertyNode_ptr NearestCarrierToNotification::GetViewPositionLonNode ( )
inline

Definition at line 66 of file AINotifications.hxx.

◆ SetCarrier()

void NearestCarrierToNotification::SetCarrier ( FGAICarrier * _carrier,
SGGeod * _position )
inline

Definition at line 56 of file AINotifications.hxx.

◆ SetCarrierIdent()

void NearestCarrierToNotification::SetCarrierIdent ( const std::string & _carrierIdent)
inline

Definition at line 63 of file AINotifications.hxx.

◆ SetDeckheight()

void NearestCarrierToNotification::SetDeckheight ( double _deckheight)
inline

Definition at line 54 of file AINotifications.hxx.

◆ SetDistanceMeters()

void NearestCarrierToNotification::SetDistanceMeters ( double _distanceMeters)
inline

Definition at line 62 of file AINotifications.hxx.

◆ SetHeading()

void NearestCarrierToNotification::SetHeading ( double _heading)
inline

Definition at line 52 of file AINotifications.hxx.

◆ SetPosition()

void NearestCarrierToNotification::SetPosition ( SGGeod * _position)
inline

Definition at line 50 of file AINotifications.hxx.

◆ SetVckts()

void NearestCarrierToNotification::SetVckts ( double _vckts)
inline

Definition at line 53 of file AINotifications.hxx.

◆ SetViewPositionAltNode()

void NearestCarrierToNotification::SetViewPositionAltNode ( SGPropertyNode_ptr _viewPositionAltNode)
inline

Definition at line 71 of file AINotifications.hxx.

◆ SetViewPositionLatNode()

void NearestCarrierToNotification::SetViewPositionLatNode ( SGPropertyNode_ptr _viewPositionLatNode)
inline

Definition at line 69 of file AINotifications.hxx.

◆ SetViewPositionLonNode()

void NearestCarrierToNotification::SetViewPositionLonNode ( SGPropertyNode_ptr _viewPositionLonNode)
inline

Definition at line 70 of file AINotifications.hxx.

Member Data Documentation

◆ carrier

class FGAICarrier* NearestCarrierToNotification::carrier
protected

Definition at line 87 of file AINotifications.hxx.

◆ carrierIdent

std::string NearestCarrierToNotification::carrierIdent
protected

Definition at line 86 of file AINotifications.hxx.

◆ comparisonPosition

SGGeod NearestCarrierToNotification::comparisonPosition
protected

Definition at line 76 of file AINotifications.hxx.

◆ deckheight

double NearestCarrierToNotification::deckheight
protected

Definition at line 84 of file AINotifications.hxx.

◆ distanceMeters

double NearestCarrierToNotification::distanceMeters
protected

Definition at line 85 of file AINotifications.hxx.

◆ heading

double NearestCarrierToNotification::heading
protected

Definition at line 82 of file AINotifications.hxx.

◆ position

SGGeod* NearestCarrierToNotification::position
protected

Definition at line 75 of file AINotifications.hxx.

◆ vckts

double NearestCarrierToNotification::vckts
protected

Definition at line 83 of file AINotifications.hxx.

◆ viewPositionAltFtNode

SGPropertyNode_ptr NearestCarrierToNotification::viewPositionAltFtNode
protected

Definition at line 80 of file AINotifications.hxx.

◆ viewPositionLatDegNode

SGPropertyNode_ptr NearestCarrierToNotification::viewPositionLatDegNode
protected

Definition at line 78 of file AINotifications.hxx.

◆ viewPositionLonDegNode

SGPropertyNode_ptr NearestCarrierToNotification::viewPositionLonDegNode
protected

Definition at line 79 of file AINotifications.hxx.


The documentation for this class was generated from the following file: