![]() |
|
|
Generated: 18 Jul 2008 |
#include <GaudiKernel/IEvtSelector.h>
Inheritance diagram for IEvtSelector:


The EventSelector component is able to produce a list of event given a set of stream specifications.
Definition at line 25 of file IEvtSelector.h.
Public Member Functions | |
| virtual StatusCode | createContext (Context *&c) const =0 |
| Create and return a context object that will keep track of the state of selection. | |
| virtual StatusCode | next (Context &c) const =0 |
| Fetch the next event or the first event if it will be use soon after the creation of the context. | |
| virtual StatusCode | next (Context &c, int jump) const=0 |
| Same of next(const Context&) plus the possibility to jump the next n-1 events. | |
| virtual StatusCode | previous (Context &c) const =0 |
| Fetch the previous event. | |
| virtual StatusCode | previous (Context &c, int jump) const=0 |
| Same of previous(Context& c) the possibility to jump the previous n-1 events. | |
| virtual StatusCode | last (Context &refContext) const =0 |
| Access last item in the iteration. | |
| virtual StatusCode | rewind (Context &c) const =0 |
| Will set the state of the context in a way that the next event read is the first of the list. | |
| virtual StatusCode | createAddress (const Context &c, IOpaqueAddress *&iop) const =0 |
| Create an IOpaqueAddress object from the event fetched. | |
| virtual StatusCode | releaseContext (Context *&) const =0 |
| Release the Context object. | |
| virtual StatusCode | resetCriteria (const std::string &cr, Context &c) const =0 |
| 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. | |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| Retrieve interface ID. | |
Classes | |
| class | Context |
| static const InterfaceID& IEvtSelector::interfaceID | ( | ) | [inline, static] |
Retrieve interface ID.
Reimplemented from IInterface.
Definition at line 33 of file IEvtSelector.h.
References IID_IEvtSelector.
00033 { return IID_IEvtSelector;}
| virtual StatusCode IEvtSelector::createContext | ( | Context *& | c | ) | const [pure virtual] |
Create and return a context object that will keep track of the state of selection.
| c | Reference of a pointer to a Context object. |
Referenced by EventLoopMgr::initialize(), and EventLoopMgr::reinitialize().
| virtual StatusCode IEvtSelector::next | ( | Context & | c | ) | const [pure virtual] |
Fetch the next event or the first event if it will be use soon after the creation of the context.
It will return StatusCode::FAILURE if there have been problem in the fetching or it has been reached the end of the list of events.
| c | Reference to the Context object. |
Referenced by EventLoopMgr::getEventRoot(), and EventSelector::next().
| virtual StatusCode IEvtSelector::next | ( | Context & | c, | |
| int | jump | |||
| ) | const [pure virtual] |
Same of next(const Context&) plus the possibility to jump the next n-1 events.
| c | Reference to the Context object. | |
| jump | The event to jump to from the current event. |
| virtual StatusCode IEvtSelector::previous | ( | Context & | c | ) | const [pure virtual] |
Fetch the previous event.
It will return StatusCode::FAILURE if there have been problem in the fetching or it has been reached the begin of the list of events.
| c | Reference to the Context object. |
Referenced by EventSelector::previous().
| virtual StatusCode IEvtSelector::previous | ( | Context & | c, | |
| int | jump | |||
| ) | const [pure virtual] |
Same of previous(Context& c) the possibility to jump the previous n-1 events.
| c | Reference to the Context object. | |
| jump | The event to jump to from the current event. |
| virtual StatusCode IEvtSelector::last | ( | Context & | refContext | ) | const [pure virtual] |
| virtual StatusCode IEvtSelector::rewind | ( | Context & | c | ) | const [pure virtual] |
Will set the state of the context in a way that the next event read is the first of the list.
| c | Reference to the Context object. |
| virtual StatusCode IEvtSelector::createAddress | ( | const Context & | c, | |
| IOpaqueAddress *& | iop | |||
| ) | const [pure virtual] |
Create an IOpaqueAddress object from the event fetched.
| c | Reference to the Context object. | |
| iop | Refernce pointer to a IOpaqueAddress object |
Referenced by EventSelector::createAddress(), and EventLoopMgr::getEventRoot().
| virtual StatusCode IEvtSelector::releaseContext | ( | Context *& | ) | const [pure virtual] |
Release the Context object.
| c | Reference pointer to the Context object. |
Referenced by EventLoopMgr::finalize(), EventLoopMgr::reinitialize(), and EventSelector::releaseContext().
| virtual StatusCode IEvtSelector::resetCriteria | ( | const std::string & | cr, | |
| Context & | c | |||
| ) | const [pure 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. |