| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
SketchPoolRoot.hGo to the documentation of this file.00001 //-*-c++-*- 00002 #ifndef INCLUDED_SketchPoolRoot_h 00003 #define INCLUDED_SketchPoolRoot_h 00004 00005 namespace DualCoding { 00006 00007 class SketchSpace; 00008 00009 //! Non-templated parent class of SketchPool<T>. 00010 /*! SketchPoolRoot is the non-templated parent class of SketchPool<T>. 00011 It is needed in order to reference components of SketchSpace. We 00012 can't #include SketchSpace.h from SketchPool.h because of circular 00013 dependencies, but we can safely include it from SketchPoolRoot.cc. */ 00014 00015 class SketchPoolRoot { 00016 protected: 00017 SketchSpace *space; 00018 00019 int getRefreshCounter(); 00020 00021 public: 00022 00023 SketchPoolRoot(SketchSpace* _space) : space(_space) {} 00024 00025 virtual ~SketchPoolRoot()=0; //!< used as a base class, but never directly instantiated, so has an virtual abstract destructor 00026 00027 SketchPoolRoot(const SketchPoolRoot&); //!< never call 00028 00029 SketchPoolRoot& operator=(const SketchPoolRoot&); //!< never call 00030 00031 }; 00032 00033 } // namespace 00034 00035 #endif |
|
DualCoding 3.0beta |
Generated Wed Oct 4 00:01:54 2006 by Doxygen 1.4.7 |