The Gaudi Framework
v29r0 (ff2e7097)
|
#include <src/HiveEventRegistryEntry.h>
Public Member Functions | |
HiveEventRegistryEntry (const std::string &path, DataSvcHelpers::RegistryEntry *parent=0) | |
Standard Constructor. More... | |
virtual | ~HiveEventRegistryEntry () |
Standard Destructor. More... | |
virtual long | add (const std::string &name, DataObject *pObject, bool is_soft=false) |
Add entry to data store. More... | |
virtual long | add (const std::string &name, IOpaqueAddress *pAddress, bool is_soft=false) |
Add entry to data store. More... | |
virtual long | add (IRegistry *obj) |
Add object to the container. More... | |
virtual tbb::concurrent_queue< std::string > & | new_products () |
Get list of new products. More... | |
Public Member Functions inherited from DataSvcHelpers::RegistryEntry | |
RegistryEntry (std::string path, RegistryEntry *parent=nullptr) | |
Standard Constructor. More... | |
~RegistryEntry () override | |
Standard Destructor. More... | |
unsigned long | release () override |
IInterface implementation: Reference the object. More... | |
unsigned long | addRef () override |
IInterface implementation: Dereference the object. More... | |
const std::string & | name () const override |
Retrieve name of the entry. More... | |
const std::string & | identifier () const override |
Full identifier (or key) More... | |
IDataProviderSvc * | dataSvc () const override |
Retrieve pointer to Transient Store. More... | |
DataObject * | object () const override |
Retrive object behind the link. More... | |
IOpaqueAddress * | address () const override |
Retrieve opaque storage address. More... | |
virtual IRegistry * | parent () const |
Pointer to parent directory entry. More... | |
virtual bool | isSoft () const |
Is the link soft or hard. More... | |
const Store & | leaves () const |
Access the leaves of the object. More... | |
virtual int | size () const |
Return the size of the container(=number of objects) More... | |
virtual bool | isEmpty () const |
Simple check if the Container is empty. More... | |
virtual Iterator | begin () const |
Return starting point for container iteration. More... | |
virtual Iterator | end () const |
Return end elemtn if the container. More... | |
virtual IRegistry * | find (const IRegistry *obj) const |
Try to find an object identified by its pointer. More... | |
virtual IRegistry * | find (const std::string &path) const |
Try to find an object identified by its relative name to the directory. More... | |
void | setAddress (IOpaqueAddress *pAddress) override |
Set/Update Opaque address. More... | |
void | setObject (DataObject *obj) |
Set/Update object address. More... | |
virtual long | remove (const std::string &name) |
Remove an entry from the store. More... | |
virtual long | remove (IRegistry *obj) |
Remove an object from the container. More... | |
virtual long | deleteElements () |
Delete all contained elements. More... | |
virtual long | traverseTree (IDataStoreAgent *pAgent, int level=0) |
traverse data tree More... | |
Public Member Functions inherited from IRegistry | |
virtual | ~IRegistry ()=default |
destructor More... | |
Private Member Functions | |
void | assemblePath (std::string &buffer) const |
The following entries serve two aspects: 1) They are faster for recursive calls, because they are non-virtual 2) They can be re-used for the non-const entry points using a const_cast of the result. More... | |
HiveRegistryEntry * | i_add (const std::string &) |
internals of the adding to the data store More... | |
Private Attributes | |
tbb::concurrent_queue< std::string > | m_publishedData |
registry for all data published in the event; getting read from time to time More... | |
Friends | |
class | ::DataSvc |
Additional Inherited Members | |
Public Types inherited from DataSvcHelpers::RegistryEntry | |
typedef Store::const_iterator | Iterator |
Iterator definition. More... | |
Public Types inherited from IRegistry | |
typedef std::string | name_type |
Type definitions Name type. More... | |
typedef std::string | id_type |
Identifier Key type. More... | |
Definition at line 29 of file HiveEventRegistryEntry.h.
Hive::HiveEventRegistryEntry::HiveEventRegistryEntry | ( | const std::string & | path, |
DataSvcHelpers::RegistryEntry * | parent = 0 |
||
) |
Standard Constructor.
|
virtual |
Standard Destructor.
|
virtual |
Add entry to data store.
Reimplemented from DataSvcHelpers::RegistryEntry.
|
virtual |
Add entry to data store.
Reimplemented from DataSvcHelpers::RegistryEntry.
|
virtual |
Add object to the container.
Reimplemented from DataSvcHelpers::RegistryEntry.
|
private |
The following entries serve two aspects: 1) They are faster for recursive calls, because they are non-virtual 2) They can be re-used for the non-const entry points using a const_cast of the result.
Recursive helper to assemble the full path name of the entry
|
private |
internals of the adding to the data store
|
inlinevirtual |
Get list of new products.
Definition at line 61 of file HiveEventRegistryEntry.h.
Definition at line 32 of file HiveEventRegistryEntry.h.
|
private |
registry for all data published in the event; getting read from time to time
Definition at line 36 of file HiveEventRegistryEntry.h.