![]() |
The Gaudi Framework
master (ff829712)
|
Definition of class EventSelectorDataStream. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/EventSelectorDataStream.h>
Public Types | |
typedef std::vector< Gaudi::Property< std::string > > | Properties |
![]() | |
using | base_class |
Typedef to this class. | |
using | extend_interfaces_base |
Typedef to the base of this class. | |
using | iids |
![]() | |
using | ext_iids |
take union of the ext_iids of all Interfaces... | |
Public Member Functions | |
EventSelectorDataStream (std::string nam, std::string def, ISvcLocator *svcloc) | |
Standard Constructor. | |
virtual void | setSelector (IEvtSelector *pSelector) |
Attach event selector object. | |
virtual StatusCode | initialize () |
Parse input criteria. | |
virtual StatusCode | finalize () |
Finalize stream and release resources. | |
Gaudi::Property< std::string > * | property (const std::string &nam) |
Allow access to individual properties by name. | |
const Gaudi::Property< std::string > * | property (const std::string &nam) const |
Allow access to individual properties by name (CONST) | |
const Properties & | properties () |
Access properties. | |
const std::string & | name () const |
Retrieve stream name. | |
const std::string & | criteria () const |
Retrieve stream criteria. | |
const std::string & | dbName () const |
Retrieve stream dbName. | |
const std::string & | selectorType () const |
Retrieve event selector type. | |
const std::string & | definition () const |
Retrieve definition string. | |
IEvtSelector * | selector () const |
Retrieve event selector object. | |
bool | isInitialized () const |
Check initialization status. | |
![]() | |
void const * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. | |
implements ()=default | |
Default constructor. | |
implements (const implements &) | |
Copy constructor (zero the reference count) | |
implements & | operator= (const implements &) |
Assignment operator (do not touch the reference count). | |
unsigned long | addRef () const override |
Reference Interface instance. | |
unsigned long | release () const override |
Release Interface instance. | |
unsigned long | refCount () const override |
Current reference count. | |
Protected Member Functions | |
virtual | ~EventSelectorDataStream ()=default |
Standard Destructor. | |
![]() | |
unsigned long | decRef () const override |
Protected Attributes | |
std::string | m_name |
Name. | |
std::string | m_definition |
Definition string. | |
std::string | m_criteria |
Criteria. | |
std::string | m_dbName |
String with name of the db as parsed. | |
std::string | m_selectorType |
Event selector type. | |
SmartIF< IEvtSelector > | m_pSelector |
Pointer to valid selector. | |
ISvcLocator * | m_pSvcLocator |
Reference to service locator. | |
Properties | m_properties |
Properties vector. | |
bool | m_initialized = false |
Initialization state. | |
![]() | |
std::atomic_ulong | m_refCount |
Reference counter. | |
Friends | |
MsgStream & | operator<< (MsgStream &s, const EventSelectorDataStream &obj) |
Output friend for MsgStream. | |
std::ostream & | operator<< (std::ostream &s, const EventSelectorDataStream &obj) |
Output friend for standard I/O. | |
Definition of class EventSelectorDataStream.
Small class which eases the management of multiple input streams for the event selector.
History: +------—+-------------------------------------------—+---------—+ | Date | Comment | Who | +------—+-------------------------------------------—+---------—+ | 3/10/00 | Initial version | M.Frank | +------—+-------------------------------------------—+---------—+ | 4/09/09 | Added m_dbName and dbName() | R. Lambert | +------—+-------------------------------------------—+---------—+
Definition at line 39 of file EventSelectorDataStream.h.
typedef std::vector<Gaudi::Property<std::string> > EventSelectorDataStream::Properties |
Definition at line 46 of file EventSelectorDataStream.h.
|
protectedvirtualdefault |
Standard Destructor.
EventSelectorDataStream::EventSelectorDataStream | ( | std::string | nam, |
std::string | def, | ||
ISvcLocator * | svcloc ) |
Standard Constructor.
Definition at line 31 of file EventSelectorDataStream.cpp.
|
inline |
Retrieve stream criteria.
Definition at line 88 of file EventSelectorDataStream.h.
|
inline |
Retrieve stream dbName.
Definition at line 90 of file EventSelectorDataStream.h.
|
inline |
|
virtual |
Finalize stream and release resources.
Definition at line 175 of file EventSelectorDataStream.cpp.
|
virtual |
Parse input criteria.
Definition at line 52 of file EventSelectorDataStream.cpp.
|
inline |
|
inline |
|
inline |
Gaudi::Property< std::string > * EventSelectorDataStream::property | ( | const std::string & | nam | ) |
Allow access to individual properties by name.
Definition at line 38 of file EventSelectorDataStream.cpp.
const Gaudi::Property< std::string > * EventSelectorDataStream::property | ( | const std::string & | nam | ) | const |
Allow access to individual properties by name (CONST)
Definition at line 45 of file EventSelectorDataStream.cpp.
|
inline |
Retrieve event selector object.
Definition at line 96 of file EventSelectorDataStream.h.
|
inline |
|
virtual |
Attach event selector object.
Definition at line 35 of file EventSelectorDataStream.cpp.
|
friend |
Output friend for MsgStream.
Definition at line 21 of file EventSelectorDataStream.cpp.
|
friend |
Output friend for standard I/O.
Definition at line 26 of file EventSelectorDataStream.cpp.
|
protected |
Criteria.
Definition at line 54 of file EventSelectorDataStream.h.
|
protected |
String with name of the db as parsed.
Definition at line 56 of file EventSelectorDataStream.h.
|
protected |
Definition string.
Definition at line 52 of file EventSelectorDataStream.h.
|
protected |
Initialization state.
Definition at line 66 of file EventSelectorDataStream.h.
|
protected |
Name.
Definition at line 50 of file EventSelectorDataStream.h.
|
protected |
Properties vector.
Definition at line 64 of file EventSelectorDataStream.h.
|
protected |
Pointer to valid selector.
Definition at line 60 of file EventSelectorDataStream.h.
|
protected |
Reference to service locator.
Definition at line 62 of file EventSelectorDataStream.h.
|
protected |
Event selector type.
Definition at line 58 of file EventSelectorDataStream.h.