FlightGear next
Autopilot Class Reference

A SGSubsystemGroup implementation to serve as a collection of Components. More...

#include <autopilot.hxx>

Inherits SGSubsystemGroup.

Public Member Functions

 Autopilot (SGPropertyNode_ptr rootNode, SGPropertyNode_ptr configNode=NULL)
 
 ~Autopilot ()
 
void bind () override
 
void unbind () override
 
void update (double dt) override
 
void set_serviceable (bool value)
 
bool is_serviceable () const
 
std::string get_name () const
 
void set_name (const std::string &name)
 
void add_component (Component *component, double updateInterval)
 

Static Public Member Functions

static const char * staticSubsystemClassId ()
 

Detailed Description

A SGSubsystemGroup implementation to serve as a collection of Components.

Definition at line 37 of file autopilot.hxx.

Constructor & Destructor Documentation

◆ Autopilot()

Autopilot::Autopilot ( SGPropertyNode_ptr rootNode,
SGPropertyNode_ptr configNode = NULL )

Definition at line 127 of file autopilot.cxx.

◆ ~Autopilot()

Autopilot::~Autopilot ( )

Definition at line 193 of file autopilot.cxx.

Member Function Documentation

◆ add_component()

void Autopilot::add_component ( Component * component,
double updateInterval )

Definition at line 210 of file autopilot.cxx.

◆ bind()

void Autopilot::bind ( )
override

Definition at line 197 of file autopilot.cxx.

◆ get_name()

std::string FGXMLAutopilot::Autopilot::get_name ( ) const
inline

Definition at line 54 of file autopilot.hxx.

◆ is_serviceable()

bool FGXMLAutopilot::Autopilot::is_serviceable ( ) const
inline

Definition at line 52 of file autopilot.hxx.

◆ set_name()

void FGXMLAutopilot::Autopilot::set_name ( const std::string & name)
inline

Definition at line 55 of file autopilot.hxx.

◆ set_serviceable()

void FGXMLAutopilot::Autopilot::set_serviceable ( bool value)
inline

Definition at line 51 of file autopilot.hxx.

◆ staticSubsystemClassId()

static const char * FGXMLAutopilot::Autopilot::staticSubsystemClassId ( )
inlinestatic

Definition at line 49 of file autopilot.hxx.

◆ unbind()

void Autopilot::unbind ( )
override

Definition at line 204 of file autopilot.cxx.

◆ update()

void Autopilot::update ( double dt)
override

Definition at line 234 of file autopilot.cxx.


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