diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-04-18 15:07:41 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-04-18 15:07:41 +0000 |
commit | d6d1febfad6698f55f077b7dd94330a46da83886 (patch) | |
tree | fc947ad11e4cd38cfd7d316b942600eb51b8b878 /externals/grill/flext/source/flclass.h | |
parent | 9727e8625658520e5fdbfb0b9e9903ad540da648 (diff) |
changed template parameter of TableMap
fixed problems with symbol binding
restructured TableMap type (doesn't own pointers any more)
svn path=/trunk/; revision=2779
Diffstat (limited to 'externals/grill/flext/source/flclass.h')
-rw-r--r-- | externals/grill/flext/source/flclass.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flclass.h b/externals/grill/flext/source/flclass.h index cf11bdb8..bebd045f 100644 --- a/externals/grill/flext/source/flclass.h +++ b/externals/grill/flext/source/flclass.h @@ -659,7 +659,13 @@ protected: ~ItemSet(); }; */ - typedef TablePtrMapOwned<const t_symbol *,Item *,8> ItemSet; + class ItemSet + :public TablePtrMap<const t_symbol *,Item *,8> + { + public: + virtual ~ItemSet(); + virtual void clear(); + }; /*! This class holds hashed item entries \note not thread-safe! @@ -775,7 +781,13 @@ protected: ~AttrDataCont(); }; */ - typedef TablePtrMapOwned<const t_symbol *,AttrData *,8> AttrDataCont; + class AttrDataCont + :public TablePtrMap<const t_symbol *,AttrData *,8> + { + public: + virtual ~AttrDataCont(); + virtual void clear(); + }; // these outlet functions don't check for thread but send directly to the real-time system #if FLEXT_SYS == FLEXT_SYS_PD || FLEXT_SYS == FLEXT_SYS_MAX |