All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DataSelectionAgent.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/DataSelectionAgent.h,v 1.3 2001/11/12 08:42:58 mato Exp $
2 #ifndef GAUDIKERNEL_DATASELECTIONAGENT_H
3 #define GAUDIKERNEL_DATASELECTIONAGENT_H
4 
8 
17 class DataSelectionAgent : virtual public IDataStoreAgent {
18 protected:
20 public:
23  }
25  virtual ~DataSelectionAgent() {
26  }
29  return &m_objects;
30  }
32  virtual bool analyse(IRegistry* pRegistry, int ) {
33  DataObject* obj = pRegistry->object();
34  if ( 0 != obj ) m_objects.push_back(obj);
35  return true;
36  }
37 };
38 #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.
virtual bool analyse(IRegistry *pRegistry, int)
Analyses a given directory entry.
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:31
std::vector< DataObject * > IDataSelector
This is only a placeholder to allow me compiling until the responsible guy does his work! M...
Definition: IDataSelector.h:8