SGPropertyNode: add InterpolationMgr getter.

This commit is contained in:
Thomas Geymayer
2014-07-12 01:05:56 +02:00
parent 7c3491c679
commit cb796e374a
2 changed files with 11 additions and 0 deletions

View File

@@ -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;
//------------------------------------------------------------------------------

View File

@@ -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.
*/