#include <AIManager.hxx>
Inherits SGSubsystem.
Definition at line 25 of file AIManager.hxx.
◆ ai_list_type
◆ FGAIManager()
FGAIManager::FGAIManager |
( |
| ) |
|
◆ ~FGAIManager()
FGAIManager::~FGAIManager |
( |
| ) |
|
|
virtual |
◆ addObject()
FGAIBasePtr FGAIManager::addObject |
( |
const SGPropertyNode * | definition | ) |
|
◆ attach()
void FGAIManager::attach |
( |
const SGSharedPtr< FGAIBase > & | model | ) |
|
◆ bind()
void FGAIManager::bind |
( |
| ) |
|
|
override |
◆ calcCollision()
const FGAIBase * FGAIManager::calcCollision |
( |
double | alt, |
|
|
double | lat, |
|
|
double | lon, |
|
|
double | fuse_range ) |
◆ calcRangeFt()
double FGAIManager::calcRangeFt |
( |
const SGVec3d & | aCartPos, |
|
|
const FGAIBase * | aObject ) const |
◆ enableRadarDebug()
bool FGAIManager::enableRadarDebug |
( |
| ) |
const |
|
inline |
◆ get_ai_list()
◆ get_user_agl()
double FGAIManager::get_user_agl |
( |
| ) |
const |
|
inline |
◆ get_user_heading()
double FGAIManager::get_user_heading |
( |
| ) |
const |
|
inline |
◆ get_user_pitch()
double FGAIManager::get_user_pitch |
( |
| ) |
const |
|
inline |
◆ get_user_roll()
double FGAIManager::get_user_roll |
( |
| ) |
const |
|
inline |
◆ get_user_speed()
double FGAIManager::get_user_speed |
( |
| ) |
const |
|
inline |
◆ get_wind_from_east()
double FGAIManager::get_wind_from_east |
( |
| ) |
const |
|
inline |
◆ get_wind_from_north()
double FGAIManager::get_wind_from_north |
( |
| ) |
const |
|
inline |
◆ getObjectFromProperty()
FGAIBasePtr FGAIManager::getObjectFromProperty |
( |
const SGPropertyNode * | aProp | ) |
const |
given a reference to an /ai/models/<foo>[n] node, return the corresponding AIObject implementation, or NULL.
Definition at line 588 of file AIManager.cxx.
◆ getUserAircraft()
Retrieve the representation of the user's aircraft in the AI manager the position and velocity of this object are slaved to the user's aircraft, so that AI systems such as parking and ATC can see the user and process / avoid correctly.
Definition at line 739 of file AIManager.cxx.
◆ init()
void FGAIManager::init |
( |
| ) |
|
|
override |
◆ isRadarEnabled()
bool FGAIManager::isRadarEnabled |
( |
| ) |
const |
|
inline |
◆ isVisible()
bool FGAIManager::isVisible |
( |
const SGGeod & | pos | ) |
const |
◆ loadScenario()
bool FGAIManager::loadScenario |
( |
const std::string & | id | ) |
|
◆ loadScenarioFile()
SGPropertyNode_ptr FGAIManager::loadScenarioFile |
( |
const std::string & | id, |
|
|
SGPath & | outPath ) |
|
static |
◆ postinit()
void FGAIManager::postinit |
( |
| ) |
|
|
override |
◆ radarRangeM()
double FGAIManager::radarRangeM |
( |
| ) |
const |
|
inline |
◆ registerScenarioFile()
SGPropertyNode_ptr FGAIManager::registerScenarioFile |
( |
SGPropertyNode_ptr | root, |
|
|
const SGPath & | p ) |
|
static |
◆ registerScenarios()
void FGAIManager::registerScenarios |
( |
SGPropertyNode_ptr | root = {} | ) |
|
|
static |
Static helper to register scenarios.
This has to happen very early because we need carrier scenarios to start the position-init process for a carrier start.
Definition at line 163 of file AIManager.cxx.
◆ reinit()
void FGAIManager::reinit |
( |
| ) |
|
|
override |
◆ shutdown()
void FGAIManager::shutdown |
( |
| ) |
|
|
override |
◆ staticSubsystemClassId()
static const char * FGAIManager::staticSubsystemClassId |
( |
| ) |
|
|
inlinestatic |
◆ unbind()
void FGAIManager::unbind |
( |
| ) |
|
|
override |
◆ update()
void FGAIManager::update |
( |
double | dt | ) |
|
|
override |
◆ updateLOD()
void FGAIManager::updateLOD |
( |
SGPropertyNode * | node | ) |
|
update LOD settings of all AI/MP models
Definition at line 401 of file AIManager.cxx.
◆ FGSubmodelMgr
The documentation for this class was generated from the following files: