25using namespace swift::misc::aviation;
26using namespace swift::misc::geo;
27using namespace swift::misc::network;
28using namespace swift::misc::physical_quantities;
29using namespace swift::misc::simulation::fscommon;
36 for (
int i = 0; i < number; i++)
48 const QString cs = QStringLiteral(
"%1MI-SNO_TWR").
arg(index);
49 const QString usr = QStringLiteral(
"Joe %1").
arg(index);
51 const double f = 118.0 + (index % 30) * 0.25;
53 const CUser user(
id, usr);
86 for (
int i = 0; i < number; i++)
92 e.
setFileName(
"this will be the file path and pretty long");
93 e.
setTitle(
"I am the aircraft title foobar");
103 for (
int i = 0; i < number; i++)
105 const char cc = 65 + (i % 26);
117 for (
int i = 0; i < number; i++)
119 const CCallsign cs(QStringLiteral(
"DXX%1").arg(i));
120 const QString rn = QStringLiteral(
"Joe Doe%1").
arg(i);
126 const QString myFooModel = QStringLiteral(
"fooModel %1").
arg(i);
static CFrequencyUnit MHz()
Megahertz.
void push_back(const T &value)
Appends an element at the end of the sequence.
static CVariant fromValue(T &&value)
Construct a variant from a value.
Value object encapsulating information about an airpot.
void setPosition(const swift::misc::geo::CCoordinateGeodetic &position)
Set position.
Value object for a list of airports.
Altitude as used in aviation, can be AGL or MSL altitude.
Value object encapsulating information about an ATC station.
void setMetar(const CInformationMessage &metar)
Set METAR.
void setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant)
Set property by index.
void setAtis(const CInformationMessage &atis)
Set ATIS.
Value object for a list of ATC stations.
Value object encapsulating information of a callsign.
static CCoordinateGeodetic fromWgs84(const QString &latitudeWgs84, const QString &longitudeWgs84, const aviation::CAltitude &geodeticHeight={})
Coordinate by WGS84 position data.
void setRelativeDistance(const physical_quantities::CLength &distance)
Set relative distance.
void addCapability(Capability capability)
Add capability.
void setQueriedModelString(const QString &modelString)
Set model.
@ FsdWithIcaoCodes
basically means it is a pilot client handling ICAO code packages
@ FsdWithInterimPositions
fast position updates
Value object encapsulating a list of voice rooms.
Value object encapsulating information of a user.
bool setCallsign(const aviation::CCallsign &callsign)
Set associated callsign.
Physical unit length (length).
static CLengthUnit km()
Kilometer km.
static CLengthUnit NM()
Nautical miles NM.
static CLengthUnit ft()
Foot ft.
Set of aircraft.cfg entries representing an aircraft (FSX).
void setTitle(const QString &title)
Title.
void setAtcModel(const QString &atcModel)
ATC model.
void setIndex(int index)
Index.
void setFileName(const QString &filePath)
Filepath.
void setAtcType(const QString &atcType)
ATC type.
void setAtcParkingCode(const QString &parkingCode)
Parking code.
Utility, providing FS aircraft.cfg entries.
static swift::misc::network::CClientList getClients(int number)
Get clients.
static swift::misc::aviation::CAtcStation createStation(int index, bool byPropertyIndex=false)
Single station, annotated by index.
static swift::misc::simulation::fscommon::CAircraftCfgEntriesList getAircraftCfgEntries(int number)
Get aircraft cfg entries.
static swift::misc::aviation::CAtcStationList createAtcStations(int number, bool byPropertyIndex=false)
Generate number of ATC stations.
static swift::misc::aviation::CAirportList getAirports(int number)
Get airports.
Generate data for testing purposes.
QString arg(Args &&... args) const const
QString number(double n, char format, int precision)
QString right(qsizetype n) &&