The Gaudi Framework
v30r3 (a5ef0a68)
|
Definition of class EventSelectorDataStream. More...
#include <GaudiKernel/EventSelectorDataStream.h>
Public Types | |
typedef std::vector< Gaudi::Property< std::string > > | Properties |
Public Types inherited from implements< IInterface > | |
using | base_class = implements< Interfaces... > |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces... > |
Typedef to the base of this class. More... | |
using | iids = typename extend_interfaces_base::ext_iids |
Public Types inherited from extend_interfaces< Interfaces... > | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type |
take union of the ext_iids of all Interfaces... More... | |
Public Member Functions | |
EventSelectorDataStream (std::string nam, std::string def, ISvcLocator *svcloc) | |
Standard Constructor. More... | |
virtual void | setSelector (IEvtSelector *pSelector) |
Attach event selector object. More... | |
virtual StatusCode | initialize () |
Parse input criteria. More... | |
virtual StatusCode | finalize () |
Finalize stream and release resources. More... | |
Gaudi::Property< std::string > * | property (const std::string &nam) |
Allow access to individual properties by name. More... | |
const Gaudi::Property< std::string > * | property (const std::string &nam) const |
Allow access to individual properties by name (CONST) More... | |
const Properties & | properties () |
Access properties. More... | |
const std::string & | name () const |
Retrieve stream name. More... | |
const std::string & | criteria () const |
Retrieve stream criteria. More... | |
const std::string & | dbName () const |
Retrieve stream dbName. More... | |
const std::string & | selectorType () const |
Retrieve event selector type. More... | |
const std::string & | definition () const |
Retrieve definition string. More... | |
IEvtSelector * | selector () const |
Retrieve event selector object. More... | |
bool | isInitialized () const |
Check initialization status. More... | |
Public Member Functions inherited from implements< IInterface > | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
implements ()=default | |
Default constructor. More... | |
implements (const implements &) | |
Copy constructor (zero the reference count) More... | |
implements & | operator= (const implements &) |
Assignment operator (do not touch the reference count). More... | |
unsigned long | addRef () override |
Reference Interface instance. More... | |
unsigned long | release () override |
Release Interface instance. More... | |
unsigned long | refCount () const override |
Current reference count. More... | |
Protected Member Functions | |
virtual | ~EventSelectorDataStream ()=default |
Standard Destructor. More... | |
Protected Attributes | |
std::string | m_name |
Name. More... | |
std::string | m_definition |
Definition string. More... | |
std::string | m_criteria |
Criteria. More... | |
std::string | m_dbName |
String with name of the db as parsed. More... | |
std::string | m_selectorType |
Event selector type. More... | |
SmartIF< IEvtSelector > | m_pSelector |
Pointer to valid selector. More... | |
ISvcLocator * | m_pSvcLocator |
Reference to service locator. More... | |
Properties | m_properties |
Properties vector. More... | |
bool | m_initialized = false |
Initialization state. More... | |
Protected Attributes inherited from implements< IInterface > | |
std::atomic_ulong | m_refCount |
Reference counter. More... | |
Friends | |
MsgStream & | operator<< (MsgStream &s, const EventSelectorDataStream &obj) |
Output friend for MsgStream. More... | |
std::ostream & | operator<< (std::ostream &s, const EventSelectorDataStream &obj) |
Output friend for standard I/O. More... | |
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 45 of file EventSelectorDataStream.h.
Definition at line 53 of file EventSelectorDataStream.h.
|
protectedvirtualdefault |
Standard Destructor.
EventSelectorDataStream::EventSelectorDataStream | ( | std::string | nam, |
std::string | def, | ||
ISvcLocator * | svcloc | ||
) |
Standard Constructor.
Definition at line 37 of file EventSelectorDataStream.cpp.
|
inline |
Retrieve stream criteria.
Definition at line 95 of file EventSelectorDataStream.h.
|
inline |
Retrieve stream dbName.
Definition at line 97 of file EventSelectorDataStream.h.
|
inline |
Retrieve definition string.
Definition at line 101 of file EventSelectorDataStream.h.
|
virtual |
Finalize stream and release resources.
Definition at line 188 of file EventSelectorDataStream.cpp.
|
virtual |
Parse input criteria.
Definition at line 62 of file EventSelectorDataStream.cpp.
|
inline |
Check initialization status.
Definition at line 105 of file EventSelectorDataStream.h.
|
inline |
|
inline |
Access properties.
Definition at line 91 of file EventSelectorDataStream.h.
Gaudi::Property< std::string > * EventSelectorDataStream::property | ( | const std::string & | nam | ) |
Allow access to individual properties by name.
Definition at line 46 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 54 of file EventSelectorDataStream.cpp.
|
inline |
Retrieve event selector object.
Definition at line 103 of file EventSelectorDataStream.h.
|
inline |
Retrieve event selector type.
Definition at line 99 of file EventSelectorDataStream.h.
|
virtual |
Attach event selector object.
Definition at line 43 of file EventSelectorDataStream.cpp.
|
friend |
Output friend for MsgStream.
Definition at line 25 of file EventSelectorDataStream.cpp.
|
friend |
Output friend for standard I/O.
Definition at line 31 of file EventSelectorDataStream.cpp.
|
protected |
Criteria.
Definition at line 61 of file EventSelectorDataStream.h.
|
protected |
String with name of the db as parsed.
Definition at line 63 of file EventSelectorDataStream.h.
|
protected |
Definition string.
Definition at line 59 of file EventSelectorDataStream.h.
|
protected |
Initialization state.
Definition at line 73 of file EventSelectorDataStream.h.
|
protected |
Name.
Definition at line 57 of file EventSelectorDataStream.h.
|
protected |
Properties vector.
Definition at line 71 of file EventSelectorDataStream.h.
|
protected |
Pointer to valid selector.
Definition at line 67 of file EventSelectorDataStream.h.
|
protected |
Reference to service locator.
Definition at line 69 of file EventSelectorDataStream.h.
|
protected |
Event selector type.
Definition at line 65 of file EventSelectorDataStream.h.