Transient commit.
Kite is not in a stable state, juste doing so to allow working on automated build script.
This commit is contained in:
parent
db8ebab4ea
commit
5c592b18ce
|
@ -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.
|
||||
|
|
|
@ -208,6 +208,24 @@ namespace Kite {
|
|||
typedef GenericFilter<GCell*> GCellFilter;
|
||||
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
// Class : "DyKeyQueue".
|
||||
|
||||
|
||||
class DyKeyQueue {
|
||||
public:
|
||||
DyKeyQueue ();
|
||||
~DyKeyQueue ();
|
||||
GCell* pop ();
|
||||
void push ( GCell* );
|
||||
void invalidate ( GCell* );
|
||||
void revalidate ();
|
||||
private:
|
||||
set<GCell*,GCell::CompareByKey> _map;
|
||||
set<GCell*> _requests;
|
||||
};
|
||||
|
||||
|
||||
} // End of Kite namespace.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue