The Gaudi Framework  v29r0 (ff2e7097)
DataSelectionAgent.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_DATASELECTIONAGENT_H
2 #define GAUDIKERNEL_DATASELECTIONAGENT_H
3 
7 
16 class DataSelectionAgent : virtual public IDataStoreAgent
17 {
18 protected:
20 
21 public:
25  virtual ~DataSelectionAgent() {}
29  bool analyse( IRegistry* pRegistry, int ) override
30  {
31  DataObject* obj = pRegistry->object();
32  if ( 0 != obj ) m_objects.push_back( obj );
33  return true;
34  }
35 };
36 #endif // GAUDIKERNEL_DATASELECTIONAGENT_H
IDataSelector m_objects
DataSelectionAgent base in charge of collecting all the refereces to DataObjects in a transient store...
virtual ~DataSelectionAgent()
Destructor.
DataSelectionAgent()
Default creator.
IDataSelector * selectedObjects()
Return the set of selected DataObjects.
T push_back(T...args)
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
virtual DataObject * object() const =0
Retrieve object behind the link.
Generic data agent interface.
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:29
bool analyse(IRegistry *pRegistry, int) override
Analyses a given directory entry.