Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

WalkingFunction.h

Go to the documentation of this file.
00001 
00002 //                            WalkingFunction.h                               //
00004 
00005 #ifndef WALKINGFUNCTION_H
00006 #define WALKINGFUNCTION_H
00007 
00008 #include "X3DActiveFunction.h"
00009 #include "X3DTypes.h"
00010 
00011 namespace X3DTK {
00012 
00014 
00015 class WalkingFunction : public X3DActiveFunction
00016 {
00017 public:
00019   WalkingFunction(const ptrToWalkingFunction f, const X3DComponentWalker *component);
00021   ~WalkingFunction();
00022   
00024   inline void walk(const SFAbstractNode N) const {(component_->*ptr2function_)(N);};
00025 
00026 private:
00027   const ptrToWalkingFunction ptr2function_;
00028   const X3DComponentWalker *component_;
00029 };
00030 
00031 }
00032 
00033 #endif

Generated on Tue Jul 15 16:46:52 2003 for X3DToolKit by doxygen1.3