diff --git a/kite/src/GCell.cpp b/kite/src/GCell.cpp index 8df83b5d..44ecc3ba 100644 --- a/kite/src/GCell.cpp +++ b/kite/src/GCell.cpp @@ -566,4 +566,24 @@ namespace Kite { { return _base->_getRecord(); } +// ------------------------------------------------------------------- +// Class : "Kite::DyKeyQueue". + + + DyKeyQueue::DyKeyQueue () + : _map () + , _requests() + { } + + + DyKeyQueue::~DyKeyQueue () + { + if ( (not _map.empty()) or (not _requests.empty()) ) { + cerr << Warning("~DyKeyQueue(): Still contains %d elements and %d requests." + ,_map.size(),_requests.size()) << endl; + } + } + + + } // End of Kite namespace. diff --git a/kite/src/kite/GCell.h b/kite/src/kite/GCell.h index 521d82cc..aaa10d95 100644 --- a/kite/src/kite/GCell.h +++ b/kite/src/kite/GCell.h @@ -208,6 +208,24 @@ namespace Kite { typedef GenericFilter GCellFilter; +// ------------------------------------------------------------------- +// Class : "DyKeyQueue". + + + class DyKeyQueue { + public: + DyKeyQueue (); + ~DyKeyQueue (); + GCell* pop (); + void push ( GCell* ); + void invalidate ( GCell* ); + void revalidate (); + private: + set _map; + set _requests; + }; + + } // End of Kite namespace.