CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Member Functions
cond::persistency::BasePayloadProxy Class Referenceabstract

#include <PayloadProxy.h>

Inheritance diagram for cond::persistency::BasePayloadProxy:
cond::persistency::PayloadProxy< DataT > cond::persistency::PayloadProxy< std::vector< cond::Time_t > > cond::persistency::PayloadProxy< cond::persistency::KeyList >

Public Member Functions

 BasePayloadProxy (Iov_t const *mostRecentCurrentIov, Session const *mostRecentSession, std::shared_ptr< std::vector< Iov_t >> const *mostRecentRequests)
 
void initializeForNewIOV ()
 
bool isValid () const
 
virtual void loadMore (CondGetter const &)
 
virtual void make ()=0
 
virtual ~BasePayloadProxy ()
 

Protected Attributes

Iov_t m_iovAtInitialization
 
Iov_t const * m_mostRecentCurrentIov
 
std::shared_ptr< std::vector< Iov_t > > const * m_mostRecentRequests
 
Session const * m_mostRecentSession
 
std::shared_ptr< std::vector< Iov_t > > m_requests
 
Session m_session
 

Private Member Functions

virtual void loadPayload ()=0
 

Detailed Description

Definition at line 27 of file PayloadProxy.h.

Constructor & Destructor Documentation

◆ BasePayloadProxy()

cond::persistency::BasePayloadProxy::BasePayloadProxy ( Iov_t const *  mostRecentCurrentIov,
Session const *  mostRecentSession,
std::shared_ptr< std::vector< Iov_t >> const *  mostRecentRequests 
)

Definition at line 7 of file PayloadProxy.cc.

10  : m_mostRecentCurrentIov(mostRecentCurrentIov),
11  m_mostRecentSession(mostRecentSession),
12  m_mostRecentRequests(mostRecentRequests) {}

◆ ~BasePayloadProxy()

cond::persistency::BasePayloadProxy::~BasePayloadProxy ( )
virtual

Definition at line 14 of file PayloadProxy.cc.

14 {}

Member Function Documentation

◆ initializeForNewIOV()

void cond::persistency::BasePayloadProxy::initializeForNewIOV ( )

◆ isValid()

bool cond::persistency::BasePayloadProxy::isValid ( void  ) const

◆ loadMore()

virtual void cond::persistency::BasePayloadProxy::loadMore ( CondGetter const &  )
inlinevirtual

Reimplemented in cond::persistency::PayloadProxy< cond::persistency::KeyList >.

Definition at line 40 of file PayloadProxy.h.

40 {}

◆ loadPayload()

virtual void cond::persistency::BasePayloadProxy::loadPayload ( )
privatepure virtual

◆ make()

virtual void cond::persistency::BasePayloadProxy::make ( )
pure virtual

Member Data Documentation

◆ m_iovAtInitialization

Iov_t cond::persistency::BasePayloadProxy::m_iovAtInitialization
protected

◆ m_mostRecentCurrentIov

Iov_t const* cond::persistency::BasePayloadProxy::m_mostRecentCurrentIov
protected

Definition at line 52 of file PayloadProxy.h.

Referenced by initializeForNewIOV().

◆ m_mostRecentRequests

std::shared_ptr<std::vector<Iov_t> > const* cond::persistency::BasePayloadProxy::m_mostRecentRequests
protected

Definition at line 54 of file PayloadProxy.h.

Referenced by initializeForNewIOV().

◆ m_mostRecentSession

Session const* cond::persistency::BasePayloadProxy::m_mostRecentSession
protected

Definition at line 53 of file PayloadProxy.h.

Referenced by initializeForNewIOV().

◆ m_requests

std::shared_ptr<std::vector<Iov_t> > cond::persistency::BasePayloadProxy::m_requests
protected

◆ m_session

Session cond::persistency::BasePayloadProxy::m_session
protected
cond::Iov_t::isValid
bool isValid() const
Definition: Types.cc:16
cond::persistency::BasePayloadProxy::m_session
Session m_session
Definition: PayloadProxy.h:49
cond::persistency::BasePayloadProxy::m_iovAtInitialization
Iov_t m_iovAtInitialization
Definition: PayloadProxy.h:48
cond::persistency::BasePayloadProxy::m_mostRecentSession
Session const * m_mostRecentSession
Definition: PayloadProxy.h:53
cond::persistency::BasePayloadProxy::m_mostRecentCurrentIov
Iov_t const * m_mostRecentCurrentIov
Definition: PayloadProxy.h:52
cond::persistency::BasePayloadProxy::m_requests
std::shared_ptr< std::vector< Iov_t > > m_requests
Definition: PayloadProxy.h:50
cond::persistency::BasePayloadProxy::m_mostRecentRequests
std::shared_ptr< std::vector< Iov_t > > const * m_mostRecentRequests
Definition: PayloadProxy.h:54