| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

EventSelectorDataStream Class Reference

Definition of class EventSelectorDataStream. More...

#include <EventSelectorDataStream.h>

Inheritance diagram for EventSelectorDataStream:

[legend]
Collaboration diagram for EventSelectorDataStream:
[legend]
List of all members.

Public Types

typedef std::vector< StringPropertyProperties
 SUCCESS = 1
 Normal successful completion.
 NO_INTERFACE
 Requested interface is not available.
 VERSMISMATCH
 Requested interface version is incompatible.
 LAST_ERROR
 Last error.
enum  Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR }
 Return status. More...

Public Member Functions

 EventSelectorDataStream (const std::string &nam, const std::string &def, ISvcLocator *svcloc)
 Standard Constructor.
virtual StatusCode queryInterface (const InterfaceID &riid, void **ppvUnknown)
 Query interfaces of Interface.
virtual unsigned long addRef ()
 Reference Interface instance.
virtual unsigned long release ()
 Release Interface instance.
virtual void setSelector (IEvtSelector *pSelector)
 Attach event selector object.
virtual StatusCode initialize ()
 Parse input criteria.
virtual StatusCode finalize ()
 Finalize stream and release resources.
StringPropertyproperty (const std::string &nam)
 Allow access to individual properties by name.
const StringPropertyproperty (const std::string &nam) const
 Allow access to individual properties by name (CONST).
const Propertiesproperties ()
 Access properties.
const std::string & name () const
 Retrieve stream name.
const std::string & criteria () const
 Retrieve stream criteria.
const std::string & selectorType () const
 Retrieve event selector type.
const std::string & definition () const
 Retrieve definition string.
IEvtSelectorselector () const
 Retrieve event selector object.
bool isInitialized () const
 Check initialisation status.

Static Public Member Functions

static const InterfaceIDinterfaceID ()
 Retrieve interface ID.

Protected Member Functions

virtual ~EventSelectorDataStream ()
 Standard Destructor.

Protected Attributes

long m_refCount
 Reference count.
std::string m_name
 Name.
std::string m_definition
 Definition string.
std::string m_criteria
 Criteria.
std::string m_selectorType
 Event selector type.
IEvtSelectorm_pSelector
 Pointer to valid selector.
ISvcLocatorm_pSvcLocator
 Reference to service locator.
Propertiesm_properties
 Properties vector.
bool m_initialized
 Initialization state.

Friends

MsgStreamoperator<< (MsgStream &s, const EventSelectorDataStream &obj)
 Output friend for MsgStream.
std::ostream & operator<< (std::ostream &s, const EventSelectorDataStream &obj)
 Output friend for standard I/O.

Detailed Description

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 | +---------+----------------------------------------------+---------+

Author:
Markus Frank
Version:
1.0

Definition at line 41 of file EventSelectorDataStream.h.


Member Typedef Documentation

typedef std::vector< StringProperty > EventSelectorDataStream::Properties

Definition at line 47 of file EventSelectorDataStream.h.


Member Enumeration Documentation

enum IInterface::Status [inherited]

Return status.

Enumerator:
SUCCESS  Normal successful completion.
NO_INTERFACE  Requested interface is not available.
VERSMISMATCH  Requested interface version is incompatible.
LAST_ERROR  Last error.

Reimplemented in IConversionSvc, IConverter, and IDataProviderSvc.

Definition at line 113 of file IInterface.h.

00113                 {
00115     SUCCESS = 1,
00117     NO_INTERFACE,
00119     VERSMISMATCH,
00121     LAST_ERROR
00122   };


Constructor & Destructor Documentation

virtual EventSelectorDataStream::~EventSelectorDataStream (  )  [protected, virtual]

Standard Destructor.

EventSelectorDataStream::EventSelectorDataStream ( const std::string &  nam,
const std::string &  def,
ISvcLocator svcloc 
)

Standard Constructor.


Member Function Documentation

virtual StatusCode EventSelectorDataStream::queryInterface ( const InterfaceID riid,
void **  ppvUnknown 
) [virtual]

Query interfaces of Interface.

Parameters:
riid ID of Interface to be retrieved
ppvUnknown Pointer to Location for interface pointer

Implements IInterface.

virtual unsigned long EventSelectorDataStream::addRef (  )  [virtual]

Reference Interface instance.

Implements IInterface.

virtual unsigned long EventSelectorDataStream::release (  )  [virtual]

Release Interface instance.

Implements IInterface.

virtual void EventSelectorDataStream::setSelector ( IEvtSelector pSelector  )  [virtual]

Attach event selector object.

virtual StatusCode EventSelectorDataStream::initialize (  )  [virtual]

Parse input criteria.

virtual StatusCode EventSelectorDataStream::finalize (  )  [virtual]

Finalize stream and release resources.

StringProperty* EventSelectorDataStream::property ( const std::string &  nam  ) 

Allow access to individual properties by name.

const StringProperty* EventSelectorDataStream::property ( const std::string &  nam  )  const

Allow access to individual properties by name (CONST).

const Properties& EventSelectorDataStream::properties (  )  [inline]

Access properties.

Definition at line 92 of file EventSelectorDataStream.h.

00092                                     {
00093     return *m_properties;
00094   }

const std::string& EventSelectorDataStream::name (  )  const [inline]

Retrieve stream name.

Definition at line 96 of file EventSelectorDataStream.h.

00096                                     {
00097     return m_name;
00098   }

const std::string& EventSelectorDataStream::criteria (  )  const [inline]

Retrieve stream criteria.

Definition at line 100 of file EventSelectorDataStream.h.

00100                                         {
00101     return m_criteria;
00102   }

const std::string& EventSelectorDataStream::selectorType (  )  const [inline]

Retrieve event selector type.

Definition at line 104 of file EventSelectorDataStream.h.

00104                                             {
00105     return m_selectorType;
00106   }

const std::string& EventSelectorDataStream::definition (  )  const [inline]

Retrieve definition string.

Definition at line 108 of file EventSelectorDataStream.h.

00108                                         {
00109     return m_definition;
00110   }

IEvtSelector* EventSelectorDataStream::selector (  )  const [inline]

Retrieve event selector object.

Definition at line 112 of file EventSelectorDataStream.h.

00112                                    {
00113     return m_pSelector;
00114   }

bool EventSelectorDataStream::isInitialized (  )  const [inline]

Check initialisation status.

Definition at line 116 of file EventSelectorDataStream.h.

00116                                 {
00117     return m_initialized;
00118   }

static const InterfaceID& IInterface::interfaceID (  )  [inline, static, inherited]

Retrieve interface ID.

Reimplemented in IAddressCreator, IAIDATupleSvc, IAlgContextSvc, IAlgManager, IAlgorithm, IAlgTool, IAppMgrUI, IAuditor, IAuditorSvc, IChronoStatSvc, IChronoSvc, IClassManager, IConversionSvc, IConverter, ICounterSvc, IDataManagerSvc, IDataProviderSvc, IDataSourceMgr, IDataStreamTool, IDetDataSvc, IEventProcessor, IEventTimeDecoder, IEvtSelector, IExceptionSvc, IFactory, IFileAccess, IHistogramSvc, IHistorySvc, IIncidentListener, IIncidentSvc, IIssueLogger, IJobOptionsSvc, IMagneticFieldSvc, IMessageSvc, IMonitorSvc, INamedInterface, INTupleSvc, IParticlePropertySvc, IPartitionControl, IPartPropSvc, IPersistencySvc, IProperty, IRndmEngine, IRndmGen, IRndmGenSvc, IRunable, ISelectStatement, ISerialize, IService, IStagerSvc, IStateful, IStatSvc, IStatusCodeSvc, ISvcLocator, ISvcManager, ITHistSvc, IToolSvc, and IUpdateManagerSvc.

Definition at line 94 of file IInterface.h.

00094 { return IID_IInterface; }


Friends And Related Function Documentation

MsgStream& operator<< ( MsgStream s,
const EventSelectorDataStream obj 
) [friend]

Output friend for MsgStream.

std::ostream& operator<< ( std::ostream &  s,
const EventSelectorDataStream obj 
) [friend]

Output friend for standard I/O.


Member Data Documentation

long EventSelectorDataStream::m_refCount [protected]

Reference count.

Definition at line 50 of file EventSelectorDataStream.h.

std::string EventSelectorDataStream::m_name [protected]

Name.

Definition at line 52 of file EventSelectorDataStream.h.

std::string EventSelectorDataStream::m_definition [protected]

Definition string.

Definition at line 54 of file EventSelectorDataStream.h.

std::string EventSelectorDataStream::m_criteria [protected]

Criteria.

Definition at line 56 of file EventSelectorDataStream.h.

std::string EventSelectorDataStream::m_selectorType [protected]

Event selector type.

Definition at line 58 of file EventSelectorDataStream.h.

IEvtSelector* EventSelectorDataStream::m_pSelector [protected]

Pointer to valid selector.

Definition at line 60 of file EventSelectorDataStream.h.

ISvcLocator* EventSelectorDataStream::m_pSvcLocator [protected]

Reference to service locator.

Definition at line 62 of file EventSelectorDataStream.h.

Properties* EventSelectorDataStream::m_properties [protected]

Properties vector.

Definition at line 64 of file EventSelectorDataStream.h.

bool EventSelectorDataStream::m_initialized [protected]

Initialization state.

Definition at line 66 of file EventSelectorDataStream.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:57:06 2011 for GaudiKernel by doxygen 1.4.7