![]() |
The Gaudi Framework
v25r3
|
#include <GaudiKernel/DataStreamTool.h>


Public Types | |
| typedef std::vector < EventSelectorDataStream * > | Streams |
| typedef std::vector < StringProperty > | Properties |
Public Types inherited from extends1< AlgTool, IDataStreamTool > | |
| typedef extends1 | base_class |
| Typedef to this class. More... | |
| typedef extend_interfaces1 < IDataStreamTool > | 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 AlgTool | |
| typedef Gaudi::PluginService::Factory3 < IAlgTool *, const std::string &, const std::string &, const IInterface * > | Factory |
Public Types inherited from implements3< IAlgTool, IProperty, IStateful > | |
| typedef implements3 | base_class |
| Typedef to this class. More... | |
| typedef extend_interfaces3 < IAlgTool, IProperty, IStateful > | 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_interfaces3< IAlgTool, IProperty, IStateful > | |
| typedef mpl::fold< typename IAlgTool::iid::iids::type, typename mpl::fold< typename IProperty::iid::iids::type, typename IStateful::iid::iids::type, mpl::insert< mpl::_1, mpl::_2 > >::type, mpl::insert< mpl::_1, mpl::_2 > >::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 Types inherited from extend_interfaces1< IDataStreamTool > | |
| typedef IDataStreamTool::iid::iids::type | ext_iids |
| MPL set of interfaces extended by this one. More... | |
Public Types inherited from IDataStreamTool | |
| typedef std::vector< std::string > | StreamSpecs |
| typedef long | size_type |
Public Member Functions | |
| DataStreamTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| Standard constructor. More... | |
| virtual | ~DataStreamTool () |
| Destructor. More... | |
| virtual StatusCode | initialize () |
| Initialization (from CONFIGURED to INITIALIZED). More... | |
| virtual StatusCode | addStream (const std::string &) |
| virtual StatusCode | addStreams (const StreamSpecs &) |
| virtual StatusCode | eraseStream (const std::string &) |
| virtual StatusCode | finalize () |
| Finalize (from INITIALIZED to CONFIGURED). More... | |
| virtual StatusCode | initializeStream (EventSelectorDataStream *) |
| Initialize newly opened stream. More... | |
| virtual StatusCode | finalizeStream (EventSelectorDataStream *) |
| Finalize no longer needed stream. More... | |
| virtual StatusCode | getNextStream (const EventSelectorDataStream *&, size_type &) |
| virtual StatusCode | getPreviousStream (const EventSelectorDataStream *&, size_type &) |
| virtual Streams & | getStreams () |
| virtual EventSelectorDataStream * | lastStream () |
| virtual Streams::iterator | beginOfStreams () |
| virtual Streams::iterator | endOfStreams () |
| virtual EventSelectorDataStream * | getStream (const std::string &) |
| Retrieve stream by name. More... | |
| virtual EventSelectorDataStream * | getStream (size_type) |
| virtual size_type | size () |
| virtual StatusCode | clear () |
Public Member Functions inherited from extends1< AlgTool, IDataStreamTool > | |
| extends1 (A1 a1, A2 a2, A3 a3) | |
| Templated constructor with 3 arguments. More... | |
| extends1 (A1 a1, A2 a2) | |
| Templated constructor with 2 arguments. More... | |
| extends1 (A1 a1) | |
| Templated constructor with 1 argument. More... | |
| extends1 () | |
| Default constructor. More... | |
| virtual void * | i_cast (const InterfaceID &tid) const |
| Implementation of IInterface::i_cast. More... | |
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp) |
| Implementation of IInterface::queryInterface. More... | |
| virtual std::vector< std::string > | getInterfaceNames () const |
| Implementation of IInterface::getInterfaceNames. More... | |
| virtual | ~extends1 () |
| Virtual destructor. More... | |
Public Member Functions inherited from AlgTool | |
| virtual const std::string & | name () const |
| Retrieve full identifying name of the concrete tool object. More... | |
| virtual const std::string & | type () const |
| Retrieve type (concrete class) of the sub-algtool. More... | |
| virtual const IInterface * | parent () const |
| Retrieve parent of the sub-algtool. More... | |
| virtual StatusCode | configure () |
| Configuration (from OFFLINE to CONFIGURED). More... | |
| virtual StatusCode | start () |
| Start (from INITIALIZED to RUNNING). More... | |
| virtual StatusCode | stop () |
| Stop (from RUNNING to INITIALIZED). More... | |
| virtual StatusCode | terminate () |
| Initialization (from CONFIGURED to OFFLINE). More... | |
| virtual StatusCode | reinitialize () |
| Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED). More... | |
| virtual StatusCode | restart () |
| Initialization (from RUNNING to RUNNING, via INITIALIZED). More... | |
| virtual Gaudi::StateMachine::State | FSMState () const |
| Get the current state. More... | |
| virtual Gaudi::StateMachine::State | targetFSMState () const |
| When we are in the middle of a transition, get the state where the transition is leading us. More... | |
| virtual StatusCode | sysInitialize () |
| Initialize AlgTool. More... | |
| virtual StatusCode | sysStart () |
| Start AlgTool. More... | |
| virtual StatusCode | sysStop () |
| Stop AlgTool. More... | |
| virtual StatusCode | sysFinalize () |
| Finalize AlgTool. More... | |
| virtual StatusCode | sysReinitialize () |
| Initialize AlgTool. More... | |
| virtual StatusCode | sysRestart () |
| Start AlgTool. More... | |
| virtual StatusCode | setProperty (const Property &p) |
| Default implementations for IProperty interface. More... | |
| virtual StatusCode | setProperty (const std::string &s) |
| Set the property by string. More... | |
| virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
| Set the property by std::string. More... | |
| virtual StatusCode | getProperty (Property *p) const |
| Get the property by property. More... | |
| virtual const Property & | getProperty (const std::string &name) const |
| Get the property by name. More... | |
| virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
| Get the property by std::string. More... | |
| virtual const std::vector < Property * > & | getProperties () const |
| Get list of properties. More... | |
| PropertyMgr * | getPropertyMgr () |
| template<class TYPE > | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value More... | |
| AlgTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| Standard Constructor. More... | |
| ISvcLocator * | serviceLocator () const |
| Retrieve pointer to service locator. More... | |
| ISvcLocator * | svcLoc () const |
| shortcut for the method service locator More... | |
| IMessageSvc * | msgSvc () const |
| Retrieve pointer to message service. More... | |
| IToolSvc * | toolSvc () const |
| The standard ToolSvc service, Return a pointer to the service if present. More... | |
| StatusCode | setProperties () |
| Method for setting declared properties to the values specified in the jobOptions via the job option service. More... | |
| template<class T > | |
| StatusCode | service (const std::string &name, T *&svc, bool createIf=true) const |
| Access a service by name, creating it if it doesn't already exist. More... | |
| template<class T > | |
| StatusCode | service (const std::string &type, const std::string &name, T *&svc) const |
| Access a service by name, type creating it if it doesn't already exist. More... | |
| SmartIF< IService > | service (const std::string &name, const bool createIf=true, const bool quiet=false) const |
| Return a pointer to the service identified by name (or "type/name") More... | |
| void | declInterface (const InterfaceID &, void *) |
| declare interface More... | |
| template<class T > | |
| Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
| Declare the named property. More... | |
| Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
| Declare remote named properties. More... | |
| IAuditorSvc * | auditorSvc () const |
| Access the auditor service. More... | |
| IMonitorSvc * | monitorSvc () const |
| Access the monitor service. More... | |
| template<class T > | |
| void | declareInfo (const std::string &name, const T &var, const std::string &desc) const |
| Declare monitoring information. More... | |
| void | declareInfo (const std::string &name, const std::string &format, const void *var, int size, const std::string &desc) const |
| Declare monitoring information (special case) More... | |
Public Member Functions inherited from extend_interfaces3< IAlgTool, IProperty, IStateful > | |
| virtual | ~extend_interfaces3 () |
| Virtual destructor. More... | |
Public Member Functions inherited from IAlgTool | |
| DeclareInterfaceID (IAlgTool, 3, 0) | |
| InterfaceID. More... | |
| virtual | ~IAlgTool () |
| Virtual destructor. More... | |
| virtual unsigned long | refCount () const =0 |
| Current number of reference counts. More... | |
Public Member Functions inherited from INamedInterface | |
| DeclareInterfaceID (INamedInterface, 1, 0) | |
| InterfaceID. More... | |
| virtual | ~INamedInterface () |
| Virtual destructor (always needed for abstract classes). More... | |
Public Member Functions inherited from IInterface | |
| virtual unsigned long | addRef ()=0 |
| Increment the reference count of Interface instance. More... | |
| virtual unsigned long | release ()=0 |
| Release Interface instance. More... | |
| virtual | ~IInterface () |
| Virtual destructor. More... | |
Public Member Functions inherited from IProperty | |
| DeclareInterfaceID (IProperty, 2, 0) | |
| InterfaceID. More... | |
Public Member Functions inherited from IStateful | |
| DeclareInterfaceID (IStateful, 1, 0) | |
| InterfaceID. More... | |
| virtual | ~IStateful () |
Public Member Functions inherited from extend_interfaces1< IDataStreamTool > | |
| virtual | ~extend_interfaces1 () |
| Virtual destructor. More... | |
Public Member Functions inherited from IDataStreamTool | |
| DeclareInterfaceID (IDataStreamTool, 2, 0) | |
| InterfaceID. More... | |
Protected Member Functions | |
| virtual StatusCode | createSelector (const std::string &, const std::string &, IEvtSelector *&) |
| virtual StatusCode | createStream (const std::string &, const std::string &, EventSelectorDataStream *&) |
| StatusCode | connectStream (EventSelectorDataStream *) |
| Connect single stream by reference. More... | |
| StatusCode | connectStream (const std::string &) |
| Connect single stream by name. More... | |
| Streams::iterator | getStreamIterator (const std::string &) |
Protected Member Functions inherited from AlgTool | |
| int | outputLevel () const |
| get tool's output level More... | |
| IntegerProperty & | outputLevelProperty () |
| Accessor for the Message level property. More... | |
| void | initOutputLevel (Property &prop) |
| callback for output level property More... | |
| virtual | ~AlgTool () |
Protected Attributes | |
| size_type | m_streamID |
| size_type | m_streamCount |
| Streams | m_streams |
| StreamSpecs | m_streamSpecs |
| SmartIF< IIncidentSvc > | m_incidentSvc |
| Reference to the incident service. More... | |
| bool | m_reconfigure |
Private Member Functions | |
| DataStreamTool (const DataStreamTool &) | |
| Fake copy constructor (never implemented). More... | |
| DataStreamTool & | operator= (const DataStreamTool &) |
| Fake assignment operator (never implemented). 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 at line 29 of file DataStreamTool.h.
| typedef std::vector<StringProperty> DataStreamTool::Properties |
Definition at line 33 of file DataStreamTool.h.
| typedef std::vector<EventSelectorDataStream*> DataStreamTool::Streams |
Definition at line 32 of file DataStreamTool.h.
| DataStreamTool::DataStreamTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent | ||
| ) |
Standard constructor.
Definition at line 31 of file DataStreamTool.cpp.
|
virtual |
|
private |
Fake copy constructor (never implemented).
|
virtual |
Implements IDataStreamTool.
Definition at line 71 of file DataStreamTool.cpp.
|
virtual |
Implements IDataStreamTool.
Definition at line 106 of file DataStreamTool.cpp.
|
inlinevirtual |
Definition at line 66 of file DataStreamTool.h.
|
virtual |
Implements IDataStreamTool.
Definition at line 244 of file DataStreamTool.cpp.
|
protected |
Connect single stream by reference.
Definition at line 277 of file DataStreamTool.cpp.
|
protected |
Connect single stream by name.
Definition at line 290 of file DataStreamTool.cpp.
|
protectedvirtual |
Implements IDataStreamTool.
Definition at line 153 of file DataStreamTool.cpp.
|
protectedvirtual |
Implements IDataStreamTool.
Definition at line 204 of file DataStreamTool.cpp.
|
inlinevirtual |
Definition at line 68 of file DataStreamTool.h.
|
virtual |
Implements IDataStreamTool.
Definition at line 191 of file DataStreamTool.cpp.
|
virtual |
Finalize (from INITIALIZED to CONFIGURED).
Reimplemented from AlgTool.
Definition at line 120 of file DataStreamTool.cpp.
|
virtual |
Finalize no longer needed stream.
Implements IDataStreamTool.
Definition at line 169 of file DataStreamTool.cpp.
|
virtual |
Implements IDataStreamTool.
Definition at line 317 of file DataStreamTool.cpp.
|
virtual |
Implements IDataStreamTool.
Definition at line 330 of file DataStreamTool.cpp.
|
virtual |
Retrieve stream by name.
Implements IDataStreamTool.
Definition at line 212 of file DataStreamTool.cpp.
|
virtual |
|
protected |
Definition at line 218 of file DataStreamTool.cpp.
|
inlinevirtual |
Definition at line 62 of file DataStreamTool.h.
|
virtual |
Initialization (from CONFIGURED to INITIALIZED).
Reimplemented from AlgTool.
Definition at line 50 of file DataStreamTool.cpp.
|
virtual |
Initialize newly opened stream.
Implements IDataStreamTool.
Definition at line 127 of file DataStreamTool.cpp.
|
virtual |
|
private |
Fake assignment operator (never implemented).
|
inlinevirtual |
|
protected |
Reference to the incident service.
Definition at line 101 of file DataStreamTool.h.
|
protected |
Definition at line 103 of file DataStreamTool.h.
|
protected |
Definition at line 94 of file DataStreamTool.h.
|
protected |
Definition at line 92 of file DataStreamTool.h.
|
protected |
Definition at line 96 of file DataStreamTool.h.
|
protected |
Definition at line 98 of file DataStreamTool.h.