The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
EventCollectionContext Class Reference
Inheritance diagram for EventCollectionContext:
Collaboration diagram for EventCollectionContext:

Public Types

typedef std::list< std::string > ListName
 

Public Member Functions

 EventCollectionContext (const EventCollectionSelector *pSelector)
 Standard constructor.
 
 ~EventCollectionContext () override
 Standard destructor.
 
 EventCollectionContext (const EventCollectionContext &)=delete
 No copy.
 
EventCollectionContextoperator= (const EventCollectionContext &)=delete
 
const std::string & currentInput () const
 
void setCurrentInput (const std::string &v)
 
ListNamefiles ()
 
void * identifier () const override
 
void setCriteria (const std::string &crit)
 
ListName::const_iterator fileIterator ()
 
void setFileIterator (ListName::const_iterator new_iter)
 
- Public Member Functions inherited from IEvtSelector::Context
virtual ~Context ()=default
 

Private Attributes

GenericAddressm_pAddressBuffer = nullptr
 
const EventCollectionSelectorm_pSelector = nullptr
 
ListName m_files
 
std::string m_criteria
 
ListName::const_iterator m_fileIterator
 
std::string m_currentInput
 

Detailed Description

Author
M.Frank
Version
1.0

Definition at line 32 of file EventCollectionSelector.cpp.

Member Typedef Documentation

◆ ListName

typedef std::list<std::string> EventCollectionContext::ListName

Definition at line 34 of file EventCollectionSelector.cpp.

Constructor & Destructor Documentation

◆ EventCollectionContext() [1/2]

EventCollectionContext::EventCollectionContext ( const EventCollectionSelector * pSelector)

Standard constructor.

Definition at line 64 of file EventCollectionSelector.cpp.

64 : m_pSelector( pSelector ) {
65 m_pAddressBuffer = new GenericAddress();
66 m_pAddressBuffer->addRef();
67}
const EventCollectionSelector * m_pSelector

◆ ~EventCollectionContext()

EventCollectionContext::~EventCollectionContext ( )
override

Standard destructor.

Definition at line 62 of file EventCollectionSelector.cpp.

62{ m_pAddressBuffer->release(); }

◆ EventCollectionContext() [2/2]

EventCollectionContext::EventCollectionContext ( const EventCollectionContext & )
delete

No copy.

Member Function Documentation

◆ currentInput()

const std::string & EventCollectionContext::currentInput ( ) const
inline

Definition at line 53 of file EventCollectionSelector.cpp.

◆ fileIterator()

ListName::const_iterator EventCollectionContext::fileIterator ( )
inline

Definition at line 58 of file EventCollectionSelector.cpp.

58{ return m_fileIterator; }
ListName::const_iterator m_fileIterator

◆ files()

ListName & EventCollectionContext::files ( )
inline

Definition at line 55 of file EventCollectionSelector.cpp.

◆ identifier()

void * EventCollectionContext::identifier ( ) const
inlineoverridevirtual

Implements IEvtSelector::Context.

Definition at line 56 of file EventCollectionSelector.cpp.

56{ return (void*)m_pSelector; }

◆ operator=()

EventCollectionContext & EventCollectionContext::operator= ( const EventCollectionContext & )
delete

◆ setCriteria()

void EventCollectionContext::setCriteria ( const std::string & crit)
inline

Definition at line 57 of file EventCollectionSelector.cpp.

57{ m_criteria = crit; }

◆ setCurrentInput()

void EventCollectionContext::setCurrentInput ( const std::string & v)
inline

Definition at line 54 of file EventCollectionSelector.cpp.

◆ setFileIterator()

void EventCollectionContext::setFileIterator ( ListName::const_iterator new_iter)
inline

Definition at line 59 of file EventCollectionSelector.cpp.

59{ m_fileIterator = new_iter; }

Member Data Documentation

◆ m_criteria

std::string EventCollectionContext::m_criteria
private

Definition at line 40 of file EventCollectionSelector.cpp.

◆ m_currentInput

std::string EventCollectionContext::m_currentInput
private

Definition at line 42 of file EventCollectionSelector.cpp.

◆ m_fileIterator

ListName::const_iterator EventCollectionContext::m_fileIterator
private

Definition at line 41 of file EventCollectionSelector.cpp.

◆ m_files

ListName EventCollectionContext::m_files
private

Definition at line 39 of file EventCollectionSelector.cpp.

◆ m_pAddressBuffer

GenericAddress* EventCollectionContext::m_pAddressBuffer = nullptr
private

Definition at line 37 of file EventCollectionSelector.cpp.

◆ m_pSelector

const EventCollectionSelector* EventCollectionContext::m_pSelector = nullptr
private

Definition at line 38 of file EventCollectionSelector.cpp.


The documentation for this class was generated from the following file: