mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Ref T683, own aircraft provider CG update
This commit is contained in:
committed by
Mat Sutcliffe
parent
dc790cee8d
commit
e1b0375d68
@@ -92,6 +92,9 @@ namespace BlackMisc
|
||||
//! Update own parts
|
||||
virtual bool updateOwnParts(const Aviation::CAircraftParts &parts) = 0;
|
||||
|
||||
//! Update own aircraft's CG (aka vertical offset)
|
||||
virtual bool updateOwnCG(const PhysicalQuantities::CLength &cg) = 0;
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
// cockpit / aircraft related updates, which can come from multiple sources
|
||||
// and are subject of roundtrips -> originator
|
||||
@@ -168,6 +171,9 @@ namespace BlackMisc
|
||||
//! \copydoc IOwnAircraftProvider::updateOwnParts
|
||||
bool updateOwnParts(const Aviation::CAircraftParts &parts);
|
||||
|
||||
//! \copydoc IOwnAircraftProvider::updateOwnCG
|
||||
bool updateOwnCG(const PhysicalQuantities::CLength &cg);
|
||||
|
||||
protected:
|
||||
//! Constructor
|
||||
COwnAircraftAware(IOwnAircraftProvider *ownAircraftProvider) : IProviderAware(ownAircraftProvider) { Q_ASSERT(ownAircraftProvider); }
|
||||
|
||||
Reference in New Issue
Block a user