1 #ifndef PopConSourceHandler_H
2 #define PopConSourceHandler_H
36 typedef std::map<Time_t, std::shared_ptr<T> >
Container;
37 typedef std::unique_ptr<T>
Ref;
72 m_iovs.insert(std::make_pair(
item.second, payload));
cond::persistency::Session & dbSession() const
std::string m_userTextLog
std::string const & userTextLog() const
virtual void getNewObjects()=0
std::unique_ptr< T > fetchPayload(const cond::Hash &payloadHash)
cond::LogDBEntry_t const * m_logDBEntry
virtual ~PopConSourceHandler()
unsigned long long Time_t
std::vector< std::pair< T *, Time_t > > m_to_transfer
cond::LogDBEntry_t const & logDBEntry() const
void initialize(const cond::persistency::Session &dbSession, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry)
Container const & returnData()
std::map< Time_t, std::shared_ptr< T > > Container
cond::TagInfo_t const * m_tagInfo
virtual std::string id() const =0
std::pair< Container const *, std::string const > operator()(const cond::persistency::Session &session, cond::TagInfo_t const &tagInfo, cond::LogDBEntry_t const &logDBEntry) const
cond::persistency::Session m_session
cond::TagInfo_t const & tagInfo() const