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

EnterFunction.h

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

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