14#include <simgear/compiler.h>
15#include <simgear/debug/logstream.hxx>
16#include <simgear/io/raw_socket.hxx>
17#include <simgear/misc/stdint.hxx>
18#include <simgear/props/props.hxx>
19#include <simgear/structure/commands.hxx>
20#include <simgear/structure/event_mgr.hxx>
21#include <simgear/structure/subsystem_mgr.hxx>
22#include <simgear/timing/timestamp.hxx>
203 SGPropertyNode_ptr m_textMessageNode;
204 SGPropertyNode_ptr m_aircraftModelPathNode;
207 SGPropertyNode_ptr m_aircraftDescriptionNode;
208 SGPropertyNode_ptr m_isPausedNode;
209 SGPropertyNode_ptr m_latitudeNode;
210 SGPropertyNode_ptr m_longitudeNode;
211 SGPropertyNode_ptr m_altitudeMSLNode;
212 SGPropertyNode_ptr m_heightAGLNode;
213 SGPropertyNode_ptr m_groundSpeedNode;
214 SGPropertyNode_ptr m_pitchNode;
215 SGPropertyNode_ptr m_rollNode;
216 SGPropertyNode_ptr m_trueHeadingNode;
217 SGPropertyNode_ptr m_wheelsOnGroundNode;
218 SGPropertyNode_ptr m_com1ActiveNode;
219 SGPropertyNode_ptr m_com1StandbyNode;
220 SGPropertyNode_ptr m_com2ActiveNode;
221 SGPropertyNode_ptr m_com2StandbyNode;
222 SGPropertyNode_ptr m_transponderCodeNode;
223 SGPropertyNode_ptr m_transponderModeNode;
224 SGPropertyNode_ptr m_transponderIdentNode;
225 SGPropertyNode_ptr m_beaconLightsNode;
226 SGPropertyNode_ptr m_landingLightsNode;
227 SGPropertyNode_ptr m_navLightsNode;
228 SGPropertyNode_ptr m_strobeLightsNode;
229 SGPropertyNode_ptr m_taxiLightsNode;
230 SGPropertyNode_ptr m_altimeterServiceableNode;
231 SGPropertyNode_ptr m_pressAltitudeFtNode;
232 SGPropertyNode_ptr m_flapsDeployRatioNode;
233 SGPropertyNode_ptr m_gearDeployRatioNode;
234 SGPropertyNode_ptr m_speedBrakeDeployRatioNode;
235 SGPropertyNode_ptr m_groundElevationNode;
238 SGPropertyNode_ptr m_aircraftNameNode;
239 SGPropertyNode_ptr m_velocityXNode;
240 SGPropertyNode_ptr m_velocityYNode;
241 SGPropertyNode_ptr m_velocityZNode;
242 SGPropertyNode_ptr m_rollRateNode;
243 SGPropertyNode_ptr m_pichRateNode;
244 SGPropertyNode_ptr m_yawRateNode;
245 SGPropertyNode_ptr m_com1VolumeNode;
246 SGPropertyNode_ptr m_com2VolumeNode;
CDBusObject()=default
Constructor.
std::string getAircraftIcaoCode() const
Get the ICAO code of the current aircraft model.
std::string getAircraftLivery() const
void setCom1Standby(int freq)
Set the current COM1 standby frequency in kHz.
double getHeightAGL() const
Get aircraft height in feet.
double getFlapsDeployRatio() const
Get flaps deploy ratio, where 0.0 is flaps fully retracted, and 1.0 is flaps fully extended.
void setCom2Active(int freq)
Set the current COM2 active frequency in kHz.
void setCom2Standby(int freq)
Set the current COM2 standby frequency in kHz.
double getPressAlt() const
Get pressure altitude in ft.
double getVelocityX() const
Get x velocity in m/s.
double getAltitudeMSL() const
Get aircraft altitude in feet.
void setTransponderCode(int code)
bool getBeaconLightsOn() const
Get whether beacon lights are on.
double getGroundSpeed() const
Get aircraft groundspeed in knots.
void setTransponderMode(int mode)
double getGroundElevation() const
Get ground elevation at aircraft current position.
bool getStrobeLightsOn() const
Get whether strobe lights are on.
double getPitch() const
Get aircraft pitch in degrees above horizon.
bool getLandingLightsOn() const
Get whether landing lights are on.
static const std::string & ObjectPath()
DBus object path.
double getVelocityY() const
Get y velocity in m/s.
DBusHandlerResult dbusMessageHandler(const CDBusMessage &message) override
DBus message handler.
bool getTaxiLightsOn() const
Get whether taxi lights are on.
std::string getAircraftModelFilename() const
std::string getAircraftDescription() const
std::string getAircraftModelPath() const
void setCom1Active(int freq)
Set the current COM1 active frequency in kHz.
int process()
Perform generic processing.
int getTransponderMode() const
Get the current transponder mode (depends on the aircraft, 0-2 usually mean standby,...
double getSpeedBrakeRatio() const
Get the ratio how much the speedbrakes surfaces are extended (0.0 is fully retracted,...
int getCom2Active() const
Get the current COM2 active frequency in kHz.
double getRollRate() const
Get roll rate in rad/sec.
double getPitchRate() const
Get pitch rate in rad/sec.
int getCom2Standby() const
Get the current COM2 standby frequency in kHz.
int getTransponderCode() const
Get the current transponder code in decimal.
static int getVersionNumber()
Getting flightgear version.
std::vector< double > getEngineN1Percentage() const
Get the N1 speed as percent of max (per engine)
double getTrueHeading() const
Get aircraft true heading in degrees.
double getLatitude() const
Get aircraft latitude in degrees.
double getVelocityZ() const
Get z velocity in m/s.
std::string getAircraftModelString() const
bool getAllWheelsOnGround() const
Get whether all wheels are on the ground.
double getGearDeployRatio() const
Get gear deploy ratio, where 0 is up and 1 is down.
bool isPaused() const
True if sim is paused.
double getLongitude() const
Get aircraft longitude in degrees.
double getYawRate() const
Get yaw rate in rad/sec.
int getNumberOfEngines() const
Get the number of engines of current aircraft.
int getCom1Active() const
Get the current COM1 active frequency in kHz.
bool getNavLightsOn() const
Get whether nav lights are on.
bool getTransponderIdent() const
Get whether we are currently squawking ident.
double getCom2Volume() const
double getRoll() const
Get aircraft roll in degrees.
void addTextMessage(const std::string &text)
int getCom1Standby() const
Get the current COM1 standby frequency in kHz.
std::string getAircraftName() const
static const std::string & InterfaceName()
DBus interface name.
double getCom1Volume() const