#include <TestDataProxy.h>
Public Member Functions | |
void const * | getImpl (eventsetup::EventSetupRecordImpl const &, eventsetup::DataKey const &iKey) final |
void | invalidateCache () final |
void | setData (std::unique_ptr< T > iData) |
TestDataProxy () | |
Public Member Functions inherited from edm::eventsetup::DataProxy | |
bool | cacheIsValid () const |
DataProxy () | |
void | doGet (EventSetupRecordImpl const &iRecord, DataKey const &iKey, bool iTransiently, ActivityRegistry const *) const |
void const * | get (EventSetupRecordImpl const &, DataKey const &iKey, bool iTransiently, ActivityRegistry const *) const |
void | invalidate () |
ComponentDescription const * | providerDescription () const |
returns the description of the DataProxyProvider which owns this Proxy More... | |
void | resetIfTransient () |
void | setProviderDescription (ComponentDescription const *iDesc) |
virtual | ~DataProxy () |
Private Attributes | |
std::unique_ptr< T > | data_ |
Additional Inherited Members | |
Protected Member Functions inherited from edm::eventsetup::DataProxy | |
void | clearCacheIsValid () |
virtual void | invalidateTransientCache () |
Definition at line 33 of file TestDataProxy.h.
|
inline |
Definition at line 35 of file TestDataProxy.h.
|
inlinefinalvirtual |
This is the function which does the real work of getting the data if it is not already cached. The returning 'void const*' must point to an instance of the class type corresponding to the type designated in iKey. So if iKey refers to a base class interface the pointer must be a pointer to that base class interface and not a pointer to an inheriting class instance.
Implements edm::eventsetup::DataProxy.
Definition at line 39 of file TestDataProxy.h.
References edm::test::TestDataProxy< T >::data_.
|
inlinefinalvirtual |
indicates that the Proxy should invalidate any cached information as that information has 'expired' (i.e. we have moved to a new IOV)
Implements edm::eventsetup::DataProxy.
Definition at line 43 of file TestDataProxy.h.
References edm::test::TestDataProxy< T >::data_.
|
inline |
Definition at line 37 of file TestDataProxy.h.
References edm::test::TestDataProxy< T >::data_, and eostools::move().
|
private |
Definition at line 46 of file TestDataProxy.h.
Referenced by edm::test::TestDataProxy< T >::getImpl(), edm::test::TestDataProxy< T >::invalidateCache(), and edm::test::TestDataProxy< T >::setData().