![]() |
The Gaudi Framework
v27r0
|


Public Member Functions | |
| DataObjectHandle () | |
| DataObjectHandle (DataObjectDescriptor &descriptor, IAlgorithm *fatherAlg) | |
| Initialises mother class. More... | |
| DataObjectHandle (DataObjectDescriptor &descriptor, IAlgTool *fatherAlg) | |
| Initialises mother class. More... | |
| StatusCode | initialize () |
| Initialize. More... | |
| StatusCode | reinitialize () |
| Reinitialize. More... | |
| StatusCode | finalize () |
| Finalize. More... | |
| T * | get () |
| Retrieve object from transient data store. More... | |
| T * | getIfExists () |
| Bypass check of existence of object in transient store Only uses main location of the. More... | |
| bool | exist () |
| Check the existence of the object in the transient store. More... | |
| T * | getOrCreate () |
| Get object from store or create a new one if it doesn't exist. More... | |
| void | put (T *object) |
| Register object in transient store. More... | |
| DataObjectHandle () | |
| DataObjectHandle (DataObjectDescriptor &descriptor, IAlgorithm *fatherAlg) | |
| Initialises mother class. More... | |
| DataObjectHandle (DataObjectDescriptor &descriptor, IAlgTool *fatherAlg) | |
| Initialises mother class. More... | |
| StatusCode | initialize () |
| Initialize. More... | |
| StatusCode | reinitialize () |
| Reinitialize. More... | |
| StatusCode | finalize () |
| Finalize. More... | |
| T * | get () |
| Retrieve object from transient data store. More... | |
| T * | getIfExists () |
| Bypass check of existence of object in transient store Only uses main location of the. More... | |
| bool | exist () |
| Check the existence of the object in the transient store. More... | |
| T * | getOrCreate () |
| Get object from store or create a new one if it doesn't exist. More... | |
| void | put (T *object) |
| Register object in transient store. More... | |
Public Member Functions inherited from MinimalDataObjectHandle | |
| MinimalDataObjectHandle () | |
| MinimalDataObjectHandle (DataObjectDescriptor &descriptor) | |
| Constructor initialises the members and registers products in SchedSvc the MinimalDataObjectHandle takes over the ownership of the descriptor. More... | |
| virtual | ~MinimalDataObjectHandle () |
| bool | isOptional () const |
| Check if the data object declared is optional for the algorithm. More... | |
| void | setOptional (bool optional=true) |
| size_t | dataProductIndex () const |
| Return the product index. More... | |
| const std::string & | dataProductName () const |
| Return the product name. More... | |
| const std::vector< std::string > & | alternativeDataProductNames () const |
| StatusCode | setDataProductName (const std::string &address) |
| Update address of data product if possible -> not if was written. More... | |
| StatusCode | setAlternativeDataProductNames (const std::vector< std::string > &alternativeAddresses) |
| StatusCode | setDataProductNames (const std::vector< std::string > &addresses) |
| AccessType | accessType () const |
| Access type. More... | |
| bool | wasRead () const |
| Check if operation was performed. More... | |
| bool | wasWritten () const |
| Check if operation was performed. More... | |
| bool | isValid () const |
| bool | initialized () const |
| void | lock () |
| void | unlock () |
| MinimalDataObjectHandle () | |
| MinimalDataObjectHandle (DataObjectDescriptor &descriptor) | |
| Constructor initialises the members and registers products in SchedSvc the MinimalDataObjectHandle takes over the ownership of the descriptor. More... | |
| virtual | ~MinimalDataObjectHandle () |
| bool | isOptional () const |
| Check if the data object declared is optional for the algorithm. More... | |
| void | setOptional (bool optional=true) |
| size_t | dataProductIndex () const |
| Return the product index. More... | |
| const std::string & | dataProductName () const |
| Return the product name. More... | |
| const std::vector< std::string > & | alternativeDataProductNames () const |
| StatusCode | setDataProductName (const std::string &address) |
| Update address of data product if possible -> not if was written. More... | |
| StatusCode | setAlternativeDataProductNames (const std::vector< std::string > &alternativeAddresses) |
| StatusCode | setDataProductNames (const std::vector< std::string > &addresses) |
| AccessType | accessType () const |
| Access type. More... | |
| bool | wasRead () const |
| Check if operation was performed. More... | |
| bool | wasWritten () const |
| Check if operation was performed. More... | |
| bool | isValid () const |
| bool | initialized () const |
| void | lock () |
| void | unlock () |
Private Member Functions | |
| void | setOwner (IAlgorithm *fatherAlg) |
| void | setOwner (IAlgTool *fatherTool) |
| T * | get (bool mustExist) |
| Try to retrieve from the transient store. More... | |
| DataObjectHandle (const DataObjectHandle &) | |
| DataObjectHandle & | operator= (const DataObjectHandle &) |
| void | setOwner (IAlgorithm *fatherAlg) |
| void | setOwner (IAlgTool *fatherTool) |
| T * | get (bool mustExist) |
| DataObjectHandle (const DataObjectHandle &) | |
| DataObjectHandle & | operator= (const DataObjectHandle &) |
Private Attributes | |
| SmartIF< IDataProviderSvc > | m_EDS |
| SmartIF< IMessageSvc > | m_MS |
| IAlgorithm * | m_fatherAlg |
| IAlgTool * | m_fatherTool |
| bool | m_goodType |
Friends | |
| class | Algorithm |
| class | AlgTool |
Additional Inherited Members | |
Public Types inherited from MinimalDataObjectHandle | |
| enum | AccessType { READ, WRITE, UPDATE, READ, WRITE, UPDATE } |
| The type of the access. More... | |
| enum | AccessType { READ, WRITE, UPDATE, READ, WRITE, UPDATE } |
| The type of the access. More... | |
Protected Member Functions inherited from MinimalDataObjectHandle | |
| void | setRead (bool wasRead=true) |
| void | setWritten (bool wasWritten=true) |
| DataObjectDescriptor * | descriptor () |
| void | setRead (bool wasRead=true) |
| void | setWritten (bool wasWritten=true) |
| DataObjectDescriptor * | descriptor () |
Protected Attributes inherited from MinimalDataObjectHandle | |
| DataObjectDescriptor * | m_descriptor |
Definition at line 43 of file Algorithm.h.
| DataObjectHandle< T >::DataObjectHandle | ( | ) |
Definition at line 153 of file DataObjectHandle.h.
| DataObjectHandle< T >::DataObjectHandle | ( | DataObjectDescriptor & | descriptor, |
| IAlgorithm * | fatherAlg | ||
| ) |
Initialises mother class.
Definition at line 160 of file DataObjectHandle.h.
| DataObjectHandle< T >::DataObjectHandle | ( | DataObjectDescriptor & | descriptor, |
| IAlgTool * | fatherAlg | ||
| ) |
Initialises mother class.
Definition at line 169 of file DataObjectHandle.h.
|
private |
| DataObjectHandle< T >::DataObjectHandle | ( | ) |
| DataObjectHandle< T >::DataObjectHandle | ( | DataObjectDescriptor & | descriptor, |
| IAlgorithm * | fatherAlg | ||
| ) |
Initialises mother class.
| DataObjectHandle< T >::DataObjectHandle | ( | DataObjectDescriptor & | descriptor, |
| IAlgTool * | fatherAlg | ||
| ) |
Initialises mother class.
|
private |
|
inline |
Check the existence of the object in the transient store.
Definition at line 52 of file DataObjectHandle.h.
|
inline |
Check the existence of the object in the transient store.
Definition at line 52 of file DataObjectHandle.h.
|
virtual |
Finalize.
Reimplemented from MinimalDataObjectHandle.
Definition at line 146 of file DataObjectHandle.h.
|
virtual |
Finalize.
Reimplemented from MinimalDataObjectHandle.
|
inline |
Retrieve object from transient data store.
Definition at line 41 of file DataObjectHandle.h.
|
inline |
Retrieve object from transient data store.
Definition at line 41 of file DataObjectHandle.h.
|
private |
Try to retrieve from the transient store.
If the retrieval succeded and this is the first time we retrieve, perform a dynamic cast to the desired object. Then finally set the handle as Read. If this is not the first time we cast and the cast worked, just use the static cast: we do not need the checks of the dynamic cast for every access!
Definition at line 186 of file DataObjectHandle.h.
|
private |
|
inline |
Bypass check of existence of object in transient store Only uses main location of the.
Definition at line 47 of file DataObjectHandle.h.
|
inline |
Bypass check of existence of object in transient store Only uses main location of the.
Definition at line 47 of file DataObjectHandle.h.
| T* DataObjectHandle< T >::getOrCreate | ( | ) |
Get object from store or create a new one if it doesn't exist.
| T * DataObjectHandle< T >::getOrCreate | ( | ) |
Get object from store or create a new one if it doesn't exist.
Definition at line 259 of file DataObjectHandle.h.
|
virtual |
Initialize.
Reimplemented from MinimalDataObjectHandle.
Definition at line 91 of file DataObjectHandle.h.
|
virtual |
Initialize.
Reimplemented from MinimalDataObjectHandle.
|
private |
|
private |
| void DataObjectHandle< T >::put | ( | T * | object | ) |
Register object in transient store.
Definition at line 250 of file DataObjectHandle.h.
| void DataObjectHandle< T >::put | ( | T * | object | ) |
Register object in transient store.
|
virtual |
Reinitialize.
Reimplemented from MinimalDataObjectHandle.
Definition at line 132 of file DataObjectHandle.h.
|
virtual |
Reinitialize.
Reimplemented from MinimalDataObjectHandle.
|
inlineprivate |
Definition at line 65 of file DataObjectHandle.h.
|
inlineprivate |
Definition at line 65 of file DataObjectHandle.h.
|
inlineprivate |
Definition at line 70 of file DataObjectHandle.h.
|
inlineprivate |
Definition at line 70 of file DataObjectHandle.h.
|
friend |
Definition at line 15 of file DataObjectHandle.h.
|
friend |
Definition at line 16 of file DataObjectHandle.h.
|
private |
Definition at line 79 of file DataObjectHandle.h.
|
private |
Definition at line 81 of file DataObjectHandle.h.
|
private |
Definition at line 82 of file DataObjectHandle.h.
|
private |
Definition at line 83 of file DataObjectHandle.h.
|
private |
Definition at line 80 of file DataObjectHandle.h.