![]() |
The Gaudi Framework
v26r0
|
Definition of class EventSelectorDataStream. More...
#include <GaudiKernel/EventSelectorDataStream.h>


Public Types | |
| typedef std::vector < StringProperty > | Properties |
Public Types inherited from implements1< IInterface > | |
| typedef implements1 | base_class |
| Typedef to this class. More... | |
| typedef extend_interfaces1 < IInterface > | extend_interfaces_base |
| Typedef to the base of this class. More... | |
| typedef extend_interfaces_base::ext_iids | interfaces |
| MPL set of all the implemented interfaces. More... | |
Public Types inherited from extend_interfaces1< IInterface > | |
| typedef IInterface::iid::iids::type | ext_iids |
| MPL set of interfaces extended by this one. More... | |
Public Types inherited from IInterface | |
| enum | Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR } |
| Return status. More... | |
| typedef Gaudi::InterfaceId < IInterface, 0, 0 > | iid |
| Interface ID. More... | |
| typedef mpl::set1< iid > | ext_iids |
| Extra interfaces. More... | |
Public Member Functions | |
| EventSelectorDataStream (const std::string &nam, const 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... | |
| StringProperty * | property (const std::string &nam) |
| Allow access to individual properties by name. More... | |
| const StringProperty * | 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 extend_interfaces1< IInterface > | |
| virtual | ~extend_interfaces1 () |
| Virtual destructor. More... | |
Public Member Functions inherited from IInterface | |
| virtual void * | i_cast (const InterfaceID &) const =0 |
| main cast function More... | |
| virtual std::vector< std::string > | getInterfaceNames () const =0 |
| Returns a vector of strings containing the names of all the implemented interfaces. More... | |
| virtual unsigned long | addRef ()=0 |
| Increment the reference count of Interface instance. More... | |
| virtual unsigned long | release ()=0 |
| Release Interface instance. More... | |
| virtual unsigned long | refCount () const =0 |
| Current reference count. More... | |
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
| Set the void** to the pointer to the requested interface of the instance. More... | |
| virtual | ~IInterface () |
| Virtual destructor. More... | |
Protected Member Functions | |
| virtual | ~EventSelectorDataStream () |
| 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... | |
| 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 |
| Initialization state. 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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from IInterface | |
| static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface. 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.
| typedef std::vector< StringProperty > EventSelectorDataStream::Properties |
Definition at line 51 of file EventSelectorDataStream.h.
|
protectedvirtual |
Standard Destructor.
Definition at line 50 of file EventSelectorDataStream.cpp.
| EventSelectorDataStream::EventSelectorDataStream | ( | const std::string & | nam, |
| const std::string & | def, | ||
| ISvcLocator * | svcloc | ||
| ) |
Standard Constructor.
Definition at line 39 of file EventSelectorDataStream.cpp.
|
inline |
Retrieve stream criteria.
Definition at line 95 of file EventSelectorDataStream.h.
|
inline |
Retrieve stream dbName.
Definition at line 99 of file EventSelectorDataStream.h.
|
inline |
Retrieve definition string.
Definition at line 107 of file EventSelectorDataStream.h.
|
virtual |
Finalize stream and release resources.
Definition at line 220 of file EventSelectorDataStream.cpp.
|
virtual |
Parse input criteria.
Definition at line 83 of file EventSelectorDataStream.cpp.
|
inline |
Check initialization status.
Definition at line 115 of file EventSelectorDataStream.h.
|
inline |
|
inline |
Access properties.
Definition at line 87 of file EventSelectorDataStream.h.
| StringProperty * EventSelectorDataStream::property | ( | const std::string & | nam | ) |
Allow access to individual properties by name.
Definition at line 63 of file EventSelectorDataStream.cpp.
| const StringProperty * EventSelectorDataStream::property | ( | const std::string & | nam | ) | const |
Allow access to individual properties by name (CONST)
Definition at line 73 of file EventSelectorDataStream.cpp.
|
inline |
Retrieve event selector object.
Definition at line 111 of file EventSelectorDataStream.h.
|
inline |
Retrieve event selector type.
Definition at line 103 of file EventSelectorDataStream.h.
|
virtual |
Attach event selector object.
Definition at line 56 of file EventSelectorDataStream.cpp.
|
friend |
Output friend for MsgStream.
Definition at line 27 of file EventSelectorDataStream.cpp.
|
friend |
Output friend for standard I/O.
Definition at line 33 of file EventSelectorDataStream.cpp.
|
protected |
Criteria.
Definition at line 58 of file EventSelectorDataStream.h.
|
protected |
String with name of the db as parsed.
Definition at line 60 of file EventSelectorDataStream.h.
|
protected |
Definition string.
Definition at line 56 of file EventSelectorDataStream.h.
|
protected |
Initialization state.
Definition at line 70 of file EventSelectorDataStream.h.
|
protected |
Name.
Definition at line 54 of file EventSelectorDataStream.h.
|
protected |
Properties vector.
Definition at line 68 of file EventSelectorDataStream.h.
|
protected |
Pointer to valid selector.
Definition at line 64 of file EventSelectorDataStream.h.
|
protected |
Reference to service locator.
Definition at line 66 of file EventSelectorDataStream.h.
|
protected |
Event selector type.
Definition at line 62 of file EventSelectorDataStream.h.