FlightGear next
FGXMLAutopilot::DigitalOutput Class Reference

Models a digital output bound to a property. More...

#include <digitalcomponent.hxx>

Inherits SGReferenced.

Public Member Functions

 DigitalOutput ()
 Constructs an empty, noninverting output.
 
void setProperty (SGPropertyNode_ptr node)
 
void setInverted (bool value)
 
bool isInverted () const
 
bool getValue () const
 
void setValue (bool value)
 

Detailed Description

Models a digital output bound to a property.

May be an inverted output.

Definition at line 36 of file digitalcomponent.hxx.

Constructor & Destructor Documentation

◆ DigitalOutput()

FGXMLAutopilot::DigitalOutput::DigitalOutput ( )
inline

Constructs an empty, noninverting output.

Definition at line 59 of file digitalcomponent.hxx.

Member Function Documentation

◆ getValue()

bool FGXMLAutopilot::DigitalOutput::getValue ( ) const
inline

Definition at line 69 of file digitalcomponent.hxx.

◆ isInverted()

bool FGXMLAutopilot::DigitalOutput::isInverted ( ) const
inline

Definition at line 53 of file digitalcomponent.hxx.

◆ setInverted()

void FGXMLAutopilot::DigitalOutput::setInverted ( bool value)
inline

Definition at line 52 of file digitalcomponent.hxx.

◆ setProperty()

void FGXMLAutopilot::DigitalOutput::setProperty ( SGPropertyNode_ptr node)
inline

Definition at line 63 of file digitalcomponent.hxx.

◆ setValue()

void FGXMLAutopilot::DigitalOutput::setValue ( bool value)
inline

Definition at line 76 of file digitalcomponent.hxx.


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