From: Thomas Geymayer Date: Fri, 11 Jul 2014 23:05:56 +0000 (+0200) Subject: SGPropertyNode: add InterpolationMgr getter. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cb796e374aac215f9c9b9bfbdbb9986e9ddc1870;p=simgear.git SGPropertyNode: add InterpolationMgr getter. --- 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. */