XPPlanes
X-Plane plugin to display additional planes based on network data
|
Position, attitude, and configuration data that drives the planes' display. More...
Go to the source code of this file.
Classes | |
class | FlightData |
Transports flight data for location, attitude, configuration between the network and the main thread. More... | |
struct | FlightData::wakeTy |
Wake turbulence calculation data: wing span, wing area, aircraft mass. More... | |
struct | FlightData::lightsTy |
Aircraft lights. More... | |
class | FlightData_error |
Exception thrown by FlightData, e.g. when object creation impossible. More... | |
Typedefs | |
typedef std::chrono::time_point< std::chrono::system_clock > | tsTy |
Timestamp format is a system clock's timepoint. More... | |
typedef std::shared_ptr< FlightData > | ptrFlightDataTy |
Smart pointer to flight data objects. More... | |
typedef std::list< ptrFlightDataTy > | listFlightDataTy |
List of flight data elements. More... | |
typedef std::map< XPMPPlaneID, listFlightDataTy > | mapListFlightDataTy |
Map indexed by plane id holding lists of flight data elements. More... | |
Functions | |
bool | FlightDataStartup () |
Initialize the FlightData module. More... | |
void | FlightDataShutdown () |
Shutdown the FlightData module. More... | |
Position, attitude, and configuration data that drives the planes' display.
This data is passed from the network thread to the main thread.
struct FlightData::lightsTy |
typedef std::list<ptrFlightDataTy> listFlightDataTy |
List of flight data elements.
typedef std::map<XPMPPlaneID,listFlightDataTy> mapListFlightDataTy |
Map indexed by plane id holding lists of flight data elements.
typedef std::shared_ptr<FlightData> ptrFlightDataTy |
Smart pointer to flight data objects.
typedef std::chrono::time_point<std::chrono::system_clock> tsTy |
Timestamp format is a system clock's timepoint.
void FlightDataShutdown | ( | ) |
Shutdown the FlightData module.
bool FlightDataStartup | ( | ) |
Initialize the FlightData module.