From: <sv...@ww...> - 2005-01-13 08:13:42
|
Author: mkrose Date: 2005-01-13 00:13:35 -0800 (Thu, 13 Jan 2005) New Revision: 1443 Modified: trunk/CSP/CSPSim/Include/Animation.h Log: Fix compiler error in new animation code. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1443 Modified: trunk/CSP/CSPSim/Include/Animation.h =================================================================== --- trunk/CSP/CSPSim/Include/Animation.h 2005-01-12 15:33:50 UTC (rev 1442) +++ trunk/CSP/CSPSim/Include/Animation.h 2005-01-13 08:13:35 UTC (rev 1443) @@ -100,6 +100,7 @@ * by multiple SceneModel instances. */ class Animation: public simdata::Object { +protected: /** * Small template class to reduce & simplify writing. * It's the heart of the animation in overriding @@ -127,6 +128,7 @@ } virtual ~Callback_A_C(){} }; + template <class A> class Callback_A: public Callback_A_C<A, double> { protected: virtual void updateValue() { @@ -144,6 +146,8 @@ virtual ~Callback_A(){} }; +private: + simdata::Key m_ModelID; std::string m_ChannelName; int m_LOD; |