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

Updateable.h

Go to the documentation of this file.
00001 
00042 #ifndef _AMIRE_COMMON_UPDATEABLE_H
00043 #define _AMIRE_COMMON_UPDATEABLE_H
00044 
00045 #include <amire/common/Defines.h>
00046 
00047 namespace amire {
00048   namespace common {
00054     class AMIRE_EXPORT_API Updateable : public virtual osg::Referenced {
00055     protected:
00056       bool updateEnabled;
00057 
00058     public:
00059       Updateable(bool updateEnabled = true);
00060 
00061       virtual ~Updateable();
00062 
00066       void setUpdateEnabled(bool updateEnabled);
00067 
00071       bool isUpdateEnabled();
00072 
00078       void update();
00079 
00080     protected:
00085       virtual void doUpdate() = 0;
00086     };
00087   }
00088 }
00089 #endif

Generated on Tue May 20 17:23:54 2003 for AMIRE-Framework by doxygen1.3