mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 21:05:34 +08:00
Ref T259, Ref T243 created an implementation for remote aircraft provider
* this implementation is used by airspace monitor * also used by dummy provider (advantage, unit tests test the real provider) * some functions adjusted
This commit is contained in:
@@ -348,6 +348,16 @@ namespace BlackCore
|
||||
*/
|
||||
virtual void setInterimPositionReceivers(const BlackMisc::Aviation::CCallsignSet &receiver) = 0;
|
||||
|
||||
/*!
|
||||
* Add callsign receiving regular interim position updates.
|
||||
*/
|
||||
virtual void addInterimPositionReceiver(const BlackMisc::Aviation::CCallsign &receiver)
|
||||
{
|
||||
BlackMisc::Aviation::CCallsignSet set = this->getInterimPositionReceivers();
|
||||
set.push_back(receiver);
|
||||
this->setInterimPositionReceivers(set);
|
||||
}
|
||||
|
||||
/*!
|
||||
* Get the group of callsigns receiving regular interim position updates.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user