|
Gaudi Framework, version v23r9 |
| Home | Generated: Thu Jul 18 2013 |
Definition of class EventCollectionSelector. More...
#include <EventCollectionSelector.h>


Classes | |
| class | MyContextType |
Public Member Functions | |
| virtual StatusCode | initialize () |
| Service override: Initialize service. | |
| virtual StatusCode | finalize () |
| Service override: Finalize Service. | |
| virtual StatusCode | createContext (Context *&refpCtxt) const |
| Create a new event loop context. | |
| virtual StatusCode | next (Context &refCtxt) const |
| Get next iteration item from the event loop context. | |
| virtual StatusCode | next (Context &refCtxt, int jump) const |
| Get next iteration item from the event loop context, but skip jump elements. | |
| virtual StatusCode | previous (Context &refCtxt) const |
| Get previous iteration item from the event loop context. | |
| virtual StatusCode | previous (Context &refCtxt, int jump) const |
| Get previous iteration item from the event loop context, but skip jump elements. | |
| virtual StatusCode | rewind (Context &refCtxt) const |
| Rewind the dataset. | |
| virtual StatusCode | createAddress (const Context &refCtxt, IOpaqueAddress *&refpAddr) const |
| Create new Opaque address corresponding to the current record. | |
| virtual StatusCode | releaseContext (Context *&refCtxt) const |
| Release existing event iteration context. | |
| virtual StatusCode | resetCriteria (const std::string &cr, Context &c) const |
| Will set a new criteria for the selection of the next list of events and will change the state of the context in a way to point to the new list. | |
| virtual StatusCode | last (Context &refCtxt) const |
| Access last item in the iteration. | |
| virtual StatusCode | connectCollection (MyContextType *ctxt) const |
| Connect collection to selector. | |
| virtual StatusCode | connectDataSource (const std::string &db, const std::string &typ) const |
| Connect collection's data source to selector. | |
| virtual StatusCode | connectTuple (const std::string &nam, const std::string &itName, NTuple::Tuple *&tup, NTuple::Item< IOpaqueAddress * > *&item) const |
| Connect to existing N-tuple. | |
| virtual StatusCode | connectStatement (const std::string &typ, const std::string &crit, INTuple *tuple) const |
| Connect selection statement to refine data access. | |
| virtual StatusCode | getNextRecord (NTuple::Tuple *tuple) const |
| Read next record of the N-tuple. | |
| virtual StatusCode | getPreviousRecord (NTuple::Tuple *tuple) const |
| Read next record of the N-tuple. | |
| EventCollectionSelector (const std::string &name, ISvcLocator *svcloc) | |
| Standard Constructor. | |
| virtual | ~EventCollectionSelector () |
| Standard Destructor. | |
Public Member Functions inherited from extends1< Service, IEvtSelector > | |
| extends1 (A1 a1, A2 a2, A3 a3) | |
| Templated constructor with 3 arguments. | |
| extends1 (A1 a1, A2 a2) | |
| Templated constructor with 2 arguments. | |
| extends1 (A1 a1) | |
| Templated constructor with 1 argument. | |
| extends1 () | |
| Default constructor. | |
| virtual void * | i_cast (const InterfaceID &tid) const |
| Implementation of IInterface::i_cast. | |
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp) |
| Implementation of IInterface::queryInterface. | |
| virtual std::vector< std::string > | getInterfaceNames () const |
| Implementation of IInterface::getInterfaceNames. | |
| virtual | ~extends1 () |
| Virtual destructor. | |
Public Member Functions inherited from Service | |
| virtual unsigned long | release () |
| Release Interface instance. | |
| virtual const std::string & | name () const |
| Retrieve name of the service. | |
| virtual StatusCode | configure () |
| virtual StatusCode | start () |
| virtual StatusCode | stop () |
| virtual StatusCode | terminate () |
| virtual Gaudi::StateMachine::State | FSMState () const |
| virtual Gaudi::StateMachine::State | targetFSMState () const |
| virtual StatusCode | reinitialize () |
| virtual StatusCode | restart () |
| virtual StatusCode | sysInitialize () |
| Initialize Service. | |
| virtual StatusCode | sysStart () |
| Initialize Service. | |
| virtual StatusCode | sysStop () |
| Initialize Service. | |
| virtual StatusCode | sysFinalize () |
| Finalize Service. | |
| virtual StatusCode | sysReinitialize () |
| Re-initialize the Service. | |
| virtual StatusCode | sysRestart () |
| Re-initialize the Service. | |
| virtual StatusCode | setProperty (const Property &p) |
| virtual StatusCode | setProperty (const std::string &s) |
| virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
| virtual StatusCode | getProperty (Property *p) const |
| virtual const Property & | getProperty (const std::string &name) const |
| virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
| virtual const std::vector < Property * > & | getProperties () const |
| template<class TYPE > | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value | |
| Service (const std::string &name, ISvcLocator *svcloc) | |
| Standard Constructor. | |
| SmartIF< ISvcLocator > & | serviceLocator () const |
| Retrieve pointer to service locator. | |
| StatusCode | setProperties () |
| Method for setting declared properties to the values specified for the job. | |
| template<class T > | |
| StatusCode | service (const std::string &name, const T *&psvc, bool createIf=true) const |
| Access a service by name, creating it if it doesn't already exist. | |
| template<class T > | |
| StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
| template<class T > | |
| StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
| Access a service by name and type, creating it if it doesn't already exist. | |
| template<class T > | |
| Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
| Declare the named property. | |
| Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
| Declare remote named properties. | |
| SmartIF< IAuditorSvc > & | auditorSvc () const |
| The standard auditor service.May not be invoked before sysInitialize() has been invoked. | |
Public Member Functions inherited from CommonMessaging< implements3< IService, IProperty, IStateful > > | |
| CommonMessaging (const A1 &a1, const A2 &a2, const A3 &a3) | |
| Templated constructor with 3 arguments. | |
| CommonMessaging (const A1 &a1, const A2 &a2) | |
| Templated constructor with 2 arguments. | |
| CommonMessaging (const A1 &a1) | |
| Templated constructor with 1 argument. | |
| CommonMessaging () | |
| Default constructor. | |
| virtual | ~CommonMessaging () |
| Virtual destructor. | |
| SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. | |
| MsgStream & | msgStream () const |
| Return an uninitialized MsgStream. | |
| MsgStream & | msgStream (const MSG::Level level) const |
| Predefined configurable message stream for the efficient printouts. | |
| MsgStream & | always () const |
| shortcut for the method msgStream(MSG::ALWAYS) | |
| MsgStream & | fatal () const |
| shortcut for the method msgStream(MSG::FATAL) | |
| MsgStream & | err () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | error () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | warning () const |
| shortcut for the method msgStream(MSG::WARNING) | |
| MsgStream & | info () const |
| shortcut for the method msgStream(MSG::INFO) | |
| MsgStream & | debug () const |
| shortcut for the method msgStream(MSG::DEBUG) | |
| MsgStream & | verbose () const |
| shortcut for the method msgStream(MSG::VERBOSE) | |
| MsgStream & | msg () const |
| shortcut for the method msgStream(MSG::INFO) | |
| MSG::Level | msgLevel () const |
| get the output level from the embedded MsgStream | |
| bool | msgLevel (MSG::Level lvl) const |
| get the output level from the embedded MsgStream | |
Public Member Functions inherited from extend_interfaces1< IEvtSelector > | |
| virtual | ~extend_interfaces1 () |
| Virtual destructor. | |
Public Member Functions inherited from IEvtSelector | |
| DeclareInterfaceID (IEvtSelector, 2, 0) | |
| InterfaceID. | |
Public Member Functions inherited from IInterface | |
| virtual unsigned long | addRef ()=0 |
| Increment the reference count of Interface instance. | |
| virtual unsigned long | release ()=0 |
| Release Interface instance. | |
| virtual unsigned long | refCount () const =0 |
| Current reference count. | |
| virtual | ~IInterface () |
| Virtual destructor. | |
Protected Attributes | |
| SmartIF< INTupleSvc > | m_tupleSvc |
| Reference to Tuple service. | |
| SmartIF< IAddressCreator > | m_pAddrCreator |
| std::string | m_tupleSvcName |
| Name of the event collection service name. | |
| std::string | m_authentication |
| Authentication string (if needed) | |
| std::string | m_cntName |
| Container name. | |
| std::string | m_itemName |
| Item name. | |
| std::string | m_criteria |
| Criteria. | |
| std::string | m_database |
| Datafile name. | |
| std::string | m_dbType |
| Database type identifier. | |
| std::string | m_dbSvc |
| Database service (exclusive property with db type) | |
| std::string | m_statement |
| Selector name. | |
Additional Inherited Members | |
Public Types inherited from extends1< Service, IEvtSelector > | |
| typedef extends1 | base_class |
| Typedef to this class. | |
| typedef extend_interfaces1 < IEvtSelector > | extend_interfaces_base |
| Typedef to the base of this class. | |
| typedef extend_interfaces_base::ext_iids | interfaces |
| MPL set of all the implemented interfaces. | |
Static Public Member Functions inherited from IInterface | |
| static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface. | |
Protected Member Functions inherited from Service | |
| virtual | ~Service () |
| Standard Destructor. | |
| int | outputLevel () const |
get the Service's output level | |
Definition of class EventCollectionSelector.
Basic event selector service. The event selector service itself is able to connect other services to attached streams.
History: +------—+-------------------------------------------—+------—+ | Date | Comment | Who | +------—+-------------------------------------------—+------—+ | 3/10/00 | Initial version | M.Frank | +------—+-------------------------------------------—+------—+
Definition at line 41 of file EventCollectionSelector.h.
| EventCollectionSelector::EventCollectionSelector | ( | const std::string & | name, |
| ISvcLocator * | svcloc | ||
| ) |
Standard Constructor.
Definition at line 79 of file EventCollectionSelector.cpp.
|
virtual |
|
virtual |
Connect collection to selector.
Definition at line 232 of file EventCollectionSelector.cpp.
|
virtual |
Connect collection's data source to selector.
Definition at line 120 of file EventCollectionSelector.cpp.
|
virtual |
Connect selection statement to refine data access.
Definition at line 167 of file EventCollectionSelector.cpp.
|
virtual |
Connect to existing N-tuple.
Definition at line 141 of file EventCollectionSelector.cpp.
|
virtual |
Create new Opaque address corresponding to the current record.
| refCtxt | [IN/OUT] Reference to the context |
| refpAddr | [OUT] Reference to address pointer |
Implements IEvtSelector.
Definition at line 330 of file EventCollectionSelector.cpp.
|
virtual |
Create a new event loop context.
| refpCtxt | [IN/OUT] Reference to pointer to store the context |
Implements IEvtSelector.
Definition at line 261 of file EventCollectionSelector.cpp.
|
virtual |
Service override: Finalize Service.
Reimplemented from Service.
Definition at line 252 of file EventCollectionSelector.cpp.
|
virtual |
Read next record of the N-tuple.
Definition at line 183 of file EventCollectionSelector.cpp.
|
virtual |
Read next record of the N-tuple.
Read previous record of the N-tuple.
Definition at line 201 of file EventCollectionSelector.cpp.
|
virtual |
Service override: Initialize service.
Reimplemented from Service.
Definition at line 97 of file EventCollectionSelector.cpp.
|
virtual |
Access last item in the iteration.
| refCtxt | [IN/OUT] Reference to the Context object. |
Implements IEvtSelector.
Definition at line 387 of file EventCollectionSelector.cpp.
|
virtual |
Get next iteration item from the event loop context.
| refCtxt | [IN/OUT] Reference to the context |
Implements IEvtSelector.
Definition at line 277 of file EventCollectionSelector.cpp.
|
virtual |
Get next iteration item from the event loop context, but skip jump elements.
| refCtxt | [IN/OUT] Reference to the context |
Implements IEvtSelector.
Definition at line 284 of file EventCollectionSelector.cpp.
|
virtual |
Get previous iteration item from the event loop context.
| refCtxt | [IN/OUT] Reference to the context |
| jump | [IN] Number of events to be skipped |
Implements IEvtSelector.
Definition at line 300 of file EventCollectionSelector.cpp.
|
virtual |
Get previous iteration item from the event loop context, but skip jump elements.
| refCtxt | [IN/OUT] Reference to the context |
| jump | [IN] Number of events to be skipped |
Implements IEvtSelector.
Definition at line 307 of file EventCollectionSelector.cpp.
|
virtual |
Release existing event iteration context.
| refCtxt | [IN/OUT] Reference to the context |
Implements IEvtSelector.
Definition at line 361 of file EventCollectionSelector.cpp.
|
virtual |
Will set a new criteria for the selection of the next list of events and will change the state of the context in a way to point to the new list.
| cr | The new criteria string. |
| c | Reference pointer to the Context object. |
Implements IEvtSelector.
Definition at line 375 of file EventCollectionSelector.cpp.
|
virtual |
Rewind the dataset.
| refCtxt | [IN/OUT] Reference to the context |
Implements IEvtSelector.
Definition at line 323 of file EventCollectionSelector.cpp.
|
protected |
Authentication string (if needed)
Definition at line 84 of file EventCollectionSelector.h.
|
protected |
Container name.
Definition at line 86 of file EventCollectionSelector.h.
|
protected |
Criteria.
Definition at line 90 of file EventCollectionSelector.h.
|
protected |
Datafile name.
Definition at line 92 of file EventCollectionSelector.h.
|
protected |
Database service (exclusive property with db type)
Definition at line 96 of file EventCollectionSelector.h.
|
protected |
Database type identifier.
Definition at line 94 of file EventCollectionSelector.h.
|
protected |
Item name.
Definition at line 88 of file EventCollectionSelector.h.
|
mutableprotected |
Definition at line 80 of file EventCollectionSelector.h.
|
protected |
Selector name.
Definition at line 98 of file EventCollectionSelector.h.
|
mutableprotected |
Reference to Tuple service.
Definition at line 79 of file EventCollectionSelector.h.
|
protected |
Name of the event collection service name.
Definition at line 82 of file EventCollectionSelector.h.