swift
Public Member Functions | List of all members
swift::simplugin::fsxcommon::CSimConnectObjects Class Reference

Simulator objects (aka AI aircraft) More...

Inheritance diagram for swift::simplugin::fsxcommon::CSimConnectObjects:
[legend]

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< CSimConnectObjectgetByType (CSimConnectObject::SimObjectType type) const
 Get by type.
 
QList< CSimConnectObjectgetProbes () const
 All probes.
 
QList< CSimConnectObjectgetAircraft () 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?
 

Detailed Description

Simulator objects (aka AI aircraft)

Definition at line 351 of file simconnectobject.h.


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