The Gaudi Framework  v29r0 (ff2e7097)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DataSelectionAgent Class Reference

DataSelectionAgent base in charge of collecting all the refereces to DataObjects in a transient store that passes some selection criteria. More...

#include <GaudiKernel/DataSelectionAgent.h>

Inheritance diagram for DataSelectionAgent:
Collaboration diagram for DataSelectionAgent:

Public Member Functions

 DataSelectionAgent ()
 Default creator. More...
 
virtual ~DataSelectionAgent ()
 Destructor. More...
 
IDataSelectorselectedObjects ()
 Return the set of selected DataObjects. More...
 
bool analyse (IRegistry *pRegistry, int) override
 Analyses a given directory entry. More...
 
- Public Member Functions inherited from IDataStoreAgent
virtual ~IDataStoreAgent ()=default
 destructor More...
 

Protected Attributes

IDataSelector m_objects
 

Detailed Description

DataSelectionAgent base in charge of collecting all the refereces to DataObjects in a transient store that passes some selection criteria.

The default behaviour is to collect all entries.

Author
Markus Frank

Definition at line 16 of file DataSelectionAgent.h.

Constructor & Destructor Documentation

DataSelectionAgent::DataSelectionAgent ( )
inline

Default creator.

Definition at line 23 of file DataSelectionAgent.h.

23 {}
virtual DataSelectionAgent::~DataSelectionAgent ( )
inlinevirtual

Destructor.

Definition at line 25 of file DataSelectionAgent.h.

25 {}

Member Function Documentation

bool DataSelectionAgent::analyse ( IRegistry pRegistry,
int   
)
inlineoverridevirtual

Analyses a given directory entry.

Implements IDataStoreAgent.

Definition at line 29 of file DataSelectionAgent.h.

30  {
31  DataObject* obj = pRegistry->object();
32  if ( 0 != obj ) m_objects.push_back( obj );
33  return true;
34  }
IDataSelector m_objects
T push_back(T...args)
virtual DataObject * object() const =0
Retrieve object behind the link.
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:29
IDataSelector* DataSelectionAgent::selectedObjects ( )
inline

Return the set of selected DataObjects.

Definition at line 27 of file DataSelectionAgent.h.

27 { return &m_objects; }
IDataSelector m_objects

Member Data Documentation

IDataSelector DataSelectionAgent::m_objects
protected

Definition at line 19 of file DataSelectionAgent.h.


The documentation for this class was generated from the following file: