X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fkr_87.hxx;h=e59beba7b729cc2b6a340f000a8b69ff95b84f13;hb=2302f040953b030612e1c0cb47fc47414ddbed31;hp=a09d8c458df512a91f557ca740a34591aeb39ee6;hpb=62a359cc4a338b2f8b720edf8183ab5b69710b14;p=flightgear.git diff --git a/src/Instrumentation/kr_87.hxx b/src/Instrumentation/kr_87.hxx index a09d8c458..e59beba7b 100644 --- a/src/Instrumentation/kr_87.hxx +++ b/src/Instrumentation/kr_87.hxx @@ -16,7 +16,7 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // $Id$ @@ -34,16 +34,17 @@ #include #include +class SGSampleGroup; class FGKR_87 : public SGSubsystem { FGMorse morse; - SGPropertyNode *lon_node; - SGPropertyNode *lat_node; - SGPropertyNode *alt_node; - SGPropertyNode *bus_power; - SGPropertyNode *serviceable; + SGPropertyNode_ptr lon_node; + SGPropertyNode_ptr lat_node; + SGPropertyNode_ptr alt_node; + SGPropertyNode_ptr bus_power; + SGPropertyNode_ptr serviceable; bool need_update; @@ -59,9 +60,7 @@ class FGKR_87 : public SGSubsystem double effective_range; double dist; double heading; - double x; - double y; - double z; + SGVec3d xyz; double goal_needle_deg; double et_flash_time; @@ -106,6 +105,8 @@ class FGKR_87 : public SGSubsystem // internal periodic station search timer double _time_before_search_sec; + SGSharedPtr _sgr; + public: FGKR_87( SGPropertyNode *node );