Rise
The Vieneo Province
Loading...
Searching...
No Matches
TCAS Class Reference

#include <Module.h>

Inheritance diagram for TCAS:
[legend]
Collaboration diagram for TCAS:
[legend]

Classes

struct  Track

Public Member Functions

 TCAS (Bus *prmBus, Logger *prmLogger, RiseMath::Matrix *prmMatrixView)
void FrameMove (float fElapsedTime) override
Public Member Functions inherited from Module
 Module (Bus *prmBus)
virtual ~Module ()=default

Private Member Functions

void ResetAdvisory ()
void SetAdvisory (Bus::TcasEnum mode, int target, float rate=0.0f, bool crossing=false)

Private Attributes

Logger * logger = nullptr
struct TCAS::Track tracks [MAX_SCAN]
Bus::TcasEnum tcasmode = Bus::Clear_Of_Conflict
float advanceframe = 0.0f
float advisoryAge = 0.0f
float reactionDelay = 5.0f
int sense = 0
int threatId = -1
bool positiveIssued = false
bool weakened = false
TcasAudio::TestSequence testSequence
int testVehicleId = -1

Additional Inherited Members

Public Attributes inherited from Module
float maxFrameSeconds = 0
Protected Attributes inherited from Module
Bus * bus

Detailed Description

Definition at line 496 of file Module.h.

Constructor & Destructor Documentation

◆ TCAS()

TCAS::TCAS ( Bus * prmBus,
Logger * prmLogger,
RiseMath::Matrix * prmMatrixView )

Definition at line 90 of file TCAS.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ FrameMove()

void TCAS::FrameMove ( float fElapsedTime)
overridevirtual

Implements Module.

Definition at line 156 of file TCAS.cpp.

Here is the call graph for this function:

◆ ResetAdvisory()

void TCAS::ResetAdvisory ( )
private

Definition at line 95 of file TCAS.cpp.

Here is the caller graph for this function:

◆ SetAdvisory()

void TCAS::SetAdvisory ( Bus::TcasEnum mode,
int target,
float rate = 0.0f,
bool crossing = false )
private

Definition at line 112 of file TCAS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ advanceframe

float TCAS::advanceframe = 0.0f
private

Definition at line 507 of file Module.h.

◆ advisoryAge

float TCAS::advisoryAge = 0.0f
private

Definition at line 508 of file Module.h.

◆ logger

Logger* TCAS::logger = nullptr
private

Definition at line 498 of file Module.h.

◆ positiveIssued

bool TCAS::positiveIssued = false
private

Definition at line 512 of file Module.h.

◆ reactionDelay

float TCAS::reactionDelay = 5.0f
private

Definition at line 509 of file Module.h.

◆ sense

int TCAS::sense = 0
private

Definition at line 510 of file Module.h.

◆ tcasmode

Bus::TcasEnum TCAS::tcasmode = Bus::Clear_Of_Conflict
private

Definition at line 506 of file Module.h.

◆ testSequence

TcasAudio::TestSequence TCAS::testSequence
private

Definition at line 514 of file Module.h.

◆ testVehicleId

int TCAS::testVehicleId = -1
private

Definition at line 515 of file Module.h.

◆ threatId

int TCAS::threatId = -1
private

Definition at line 511 of file Module.h.

◆ tracks

struct TCAS::Track TCAS::tracks[MAX_SCAN]
private

◆ weakened

bool TCAS::weakened = false
private

Definition at line 513 of file Module.h.


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