| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
5 #include "GaudiKernel/IRegistry.h"
6 #include "GaudiKernel/IDataSelector.h"
7 #include "GaudiKernel/IDataStoreAgent.h"
8
17 class DataSelectionAgent : virtual public IDataStoreAgent {
18 protected:
19 IDataSelector m_objects;
20 public:
22 DataSelectionAgent() {
23 }
25 virtual ~DataSelectionAgent() {
26 }
28 IDataSelector* selectedObjects() {
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