swift
|
Simulator objects (aka AI aircraft) More...
Public Member Functions | |
bool | insert (const CSimConnectObject &simObject, bool updateTimestamp=false) |
Insert. | |
bool | setSimConnectObjectIdForRequestId (DWORD requestId, DWORD objectId) |
Set ID of a SimConnect object, so far we only have an request id in the object. | |
swift::misc::aviation::CCallsign | getCallsignForObjectId (DWORD objectId) const |
Find which callsign belongs to the object id. | |
CSimConnectObject | getSimObjectForObjectId (DWORD objectId) const |
Get object per object id. | |
CSimConnectObject | getSimObjectForRequestId (DWORD requestId) const |
Get object per request id. | |
CSimConnectObject | getSimObjectForOtherSimObject (const CSimConnectObject &otherSimObj) const |
Get by request or object id, just as possible. | |
CSimConnectObject | getOldestObject () const |
Get the oldest object. | |
bool | isKnownSimObjectId (DWORD objectId) const |
Is the object id one of our AI objects? | |
bool | removeByObjectId (DWORD objectId) |
Remove by id. | |
bool | removeByOtherSimObject (const CSimConnectObject &otherSimObj) |
Remove by object id or request id. | |
int | removeAllProbes () |
Remove all the probes. | |
int | removeCallsigns (const swift::misc::aviation::CCallsignSet &callsigns) |
Remove callsigns. | |
CSimConnectObjects | removeOutdatedPendingAdded (CSimConnectObject::SimObjectType type) |
Remove all pending added objects. | |
bool | containsPendingAdded () const |
Pending add condition. | |
bool | containsPendingRemoved () const |
Pending removed condition. | |
int | countPendingAdded () const |
Number of pending added. | |
int | countPendingRemoved () const |
Number of pending removed. | |
int | countConfirmedAdded () |
Objects not pending. | |
swift::misc::aviation::CCallsignSet | getAllCallsigns (bool withoutProbes=true) const |
Get all callsigns. | |
QStringList | getAllCallsignStrings (bool sorted=false, bool withoutProbes=true) const |
Get all callsign strings. | |
QString | getAllCallsignStringsAsString (bool sorted=false, const QString &separator=", ") const |
Get all callsign strings as string. | |
swift::misc::aviation::CCallsignSet | getPendingAddedCallsigns () const |
Callsigns of pending added callsigns. | |
swift::misc::aviation::CCallsignSet | getPendingRemovedCallsigns () const |
Callsigns of pending removed callsigns. | |
QList< CSimConnectObject > | getByType (CSimConnectObject::SimObjectType type) const |
Get by type. | |
QList< CSimConnectObject > | getProbes () const |
All probes. | |
QList< CSimConnectObject > | getAircraft () const |
All aircraft. | |
CSimConnectObject | getNotPendingProbe () const |
Get a non pending probe. | |
CSimConnectObject | getOldestNotPendingProbe () const |
Get a non pending probe. | |
bool | containsType (CSimConnectObject::SimObjectType type) const |
Contains object of type. | |
bool | containsProbe () const |
Probe? | |
bool | containsAircraft () const |
Aircraft? | |
Simulator objects (aka AI aircraft)
Definition at line 351 of file simconnectobject.h.