#include <DataProxy.h>
Public Types | |
typedef boost::shared_ptr < PayProxy > | DataP |
typedef ::DataProxy< RecordT, DataT > | DataProxy |
typedef cond::PayloadProxy< DataT > | PayProxy |
Public Member Functions | |
DataProxyWrapper (cond::DbSession &session, const std::string &iovtoken, std::string const &ilabel, const char *source=0) | |
DataProxyWrapper (const char *source=0) | |
virtual edmProxyP | edmProxy () const |
virtual void | lateInit (cond::DbSession &session, const std::string &tag, std::string const &il, std::string const &cs) |
virtual void | lateInit (cond::DbSession &session, const std::string &iovtoken, std::string const &il, std::string const &cs, std::string const &tag) |
virtual ProxyP | proxy () const |
virtual edm::eventsetup::TypeTag | type () const |
Private Attributes | |
edmProxyP | m_edmProxy |
boost::shared_ptr < cond::PayloadProxy< DataT > > | m_proxy |
std::string | m_source |
edm::eventsetup::TypeTag | m_type |
Definition at line 98 of file DataProxy.h.
typedef boost::shared_ptr<PayProxy> DataProxyWrapper< RecordT, DataT >::DataP |
Definition at line 102 of file DataProxy.h.
typedef ::DataProxy<RecordT,DataT> DataProxyWrapper< RecordT, DataT >::DataProxy |
Definition at line 100 of file DataProxy.h.
typedef cond::PayloadProxy<DataT> DataProxyWrapper< RecordT, DataT >::PayProxy |
Definition at line 101 of file DataProxy.h.
DataProxyWrapper< RecordT, DataT >::DataProxyWrapper | ( | cond::DbSession & | session, |
const std::string & | iovtoken, | ||
std::string const & | ilabel, | ||
const char * | source = 0 |
||
) | [inline] |
Definition at line 105 of file DataProxy.h.
References DataProxyWrapper< RecordT, DataT >::m_type.
: cond::DataProxyWrapperBase(ilabel), m_proxy(new PayProxy(session,iovtoken,true, source)), //errorPolicy set to true: PayloadProxy should catch and re-throw ORA exceptions m_edmProxy(new DataProxy(m_proxy)){ //NOTE: We do this so that the type 'DataT' will get registered // when the plugin is dynamically loaded m_type = edm::eventsetup::DataKey::makeTypeTag<DataT>(); }
DataProxyWrapper< RecordT, DataT >::DataProxyWrapper | ( | const char * | source = 0 | ) | [inline, explicit] |
Definition at line 116 of file DataProxy.h.
References DataProxyWrapper< RecordT, DataT >::m_type.
virtual edmProxyP DataProxyWrapper< RecordT, DataT >::edmProxy | ( | ) | const [inline, virtual] |
Implements cond::DataProxyWrapperBase.
Definition at line 146 of file DataProxy.h.
References DataProxyWrapper< RecordT, DataT >::m_edmProxy.
{ return m_edmProxy;}
virtual void DataProxyWrapper< RecordT, DataT >::lateInit | ( | cond::DbSession & | session, |
const std::string & | iovtoken, | ||
std::string const & | il, | ||
std::string const & | cs, | ||
std::string const & | tag | ||
) | [inline, virtual] |
Implements cond::DataProxyWrapperBase.
Definition at line 134 of file DataProxy.h.
References cond::DataProxyWrapperBase::addInfo(), DataProxyWrapper< RecordT, DataT >::m_edmProxy, DataProxyWrapper< RecordT, DataT >::m_proxy, and DataProxyWrapper< RecordT, DataT >::m_source.
virtual void DataProxyWrapper< RecordT, DataT >::lateInit | ( | cond::DbSession & | session, |
const std::string & | tag, | ||
std::string const & | il, | ||
std::string const & | cs | ||
) | [inline, virtual] |
Implements cond::DataProxyWrapperBase.
Definition at line 123 of file DataProxy.h.
References cond::DataProxyWrapperBase::addInfo(), DataProxyWrapper< RecordT, DataT >::m_edmProxy, DataProxyWrapper< RecordT, DataT >::m_proxy, and DataProxyWrapper< RecordT, DataT >::m_source.
virtual ProxyP DataProxyWrapper< RecordT, DataT >::proxy | ( | ) | const [inline, virtual] |
Implements cond::DataProxyWrapperBase.
Definition at line 145 of file DataProxy.h.
References DataProxyWrapper< RecordT, DataT >::m_proxy.
{ return m_proxy;}
virtual edm::eventsetup::TypeTag DataProxyWrapper< RecordT, DataT >::type | ( | ) | const [inline, virtual] |
Implements cond::DataProxyWrapperBase.
Definition at line 144 of file DataProxy.h.
References DataProxyWrapper< RecordT, DataT >::m_type.
{ return m_type;}
edmProxyP DataProxyWrapper< RecordT, DataT >::m_edmProxy [private] |
Definition at line 152 of file DataProxy.h.
Referenced by DataProxyWrapper< RecordT, DataT >::edmProxy(), and DataProxyWrapper< RecordT, DataT >::lateInit().
boost::shared_ptr<cond::PayloadProxy<DataT> > DataProxyWrapper< RecordT, DataT >::m_proxy [private] |
Definition at line 151 of file DataProxy.h.
Referenced by DataProxyWrapper< RecordT, DataT >::lateInit(), and DataProxyWrapper< RecordT, DataT >::proxy().
std::string DataProxyWrapper< RecordT, DataT >::m_source [private] |
Definition at line 149 of file DataProxy.h.
Referenced by DataProxyWrapper< RecordT, DataT >::lateInit().
edm::eventsetup::TypeTag DataProxyWrapper< RecordT, DataT >::m_type [private] |
Definition at line 150 of file DataProxy.h.
Referenced by DataProxyWrapper< RecordT, DataT >::DataProxyWrapper(), and DataProxyWrapper< RecordT, DataT >::type().