00001 00002 00003 00005 00006 00011 00016 00021 // X3DActiveFunction.h // 00023 00024 #ifndef X3DACTIVEFUNCTION_H 00025 #define X3DACTIVEFUNCTION_H 00026 00027 #include "X3DFunction.h" 00028 00029 namespace X3DTK { 00030 00032 00033 class X3DActiveFunction : public X3DFunction 00034 { 00035 public: 00037 X3DActiveFunction(); 00039 virtual ~X3DActiveFunction() = 0; 00040 00042 inline bool isActive() const {return active_;}; 00044 inline void setActive() {active_ = true;}; 00046 inline void setInactive() {active_ = false;}; 00047 00048 private: 00049 bool active_; 00050 }; 00051 00052 } 00053 00054 #endif