From cb796e374aac215f9c9b9bfbdbb9986e9ddc1870 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Sat, 12 Jul 2014 01:05:56 +0200 Subject: [PATCH] SGPropertyNode: add InterpolationMgr getter. --- simgear/props/props.cxx | 6 ++++++ simgear/props/props.hxx | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/simgear/props/props.cxx b/simgear/props/props.cxx index 6d704722..d2272c37 100644 --- a/simgear/props/props.cxx +++ b/simgear/props/props.cxx @@ -1695,6 +1695,12 @@ void SGPropertyNode::setInterpolationMgr(simgear::PropertyInterpolationMgr* mgr) _interpolation_mgr = mgr; } +//------------------------------------------------------------------------------ +simgear::PropertyInterpolationMgr* SGPropertyNode::getInterpolationMgr() +{ + return _interpolation_mgr; +} + simgear::PropertyInterpolationMgr* SGPropertyNode::_interpolation_mgr = 0; //------------------------------------------------------------------------------ diff --git a/simgear/props/props.hxx b/simgear/props/props.hxx index 59a8a43f..8e17cc49 100644 --- a/simgear/props/props.hxx +++ b/simgear/props/props.hxx @@ -1302,6 +1302,11 @@ public: */ static void setInterpolationMgr(simgear::PropertyInterpolationMgr* mgr); + /** + * Get the interpolation manager + */ + static simgear::PropertyInterpolationMgr* getInterpolationMgr(); + /** * Print the value of the property to a stream. */ -- 2.39.5