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

MemReleaserStateVariables.h

Go to the documentation of this file.
00001 
00002 //                            MemReleaserStateVariables.h                     //
00004 
00005 #ifndef MEMRELEASERGLOBALVARIABLES_H
00006 #define MEMRELEASERGLOBALVARIABLES_H
00007 
00008 #include "StateVariables.h"
00009 
00010 namespace X3DTK {
00011 
00013 
00014 class MemReleaserStateVariables : public StateVariables
00015 {
00016 public:
00018   MemReleaserStateVariables();
00020   virtual ~MemReleaserStateVariables();
00021 
00023   void init();
00025   void finish();
00026   
00028   void pushParent(SFAbstractNode P);
00030   void popParent();
00032   void setDelete(bool value);
00033   
00035   SFAbstractNode getParent() const {return _nodeStack.front();};
00037   bool getDelete() const;
00038 
00039 private: 
00040   MFAbstractNode _nodeStack;
00041   bool _toDelete;  
00042 };
00043 
00044 }
00045 
00046 #endif

Generated on Wed Apr 7 12:15:20 2004 for X3DToolKit by doxygen 1.3.3