All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HistogramAgent.h
Go to the documentation of this file.
1 // $Id: HistogramAgent.h,v 1.3 2003/04/15 07:51:15 mato Exp $
2 #ifndef GAUDIKERNEL_HISTOGRAMAGENT_H
3 #define GAUDIKERNEL_HISTOGRAMAGENT_H
4 
5 #include "GaudiKernel/ClassID.h"
9 
18 class HistogramAgent : virtual public IDataStoreAgent {
19 protected:
21 public:
24  }
26  virtual ~HistogramAgent() {
27  }
30  return &m_objects;
31  }
33  virtual bool analyse(IRegistry* pRegistry, int ) {
34  DataObject* obj = pRegistry->object();
35  if ( 0 != obj ) {
36  if ( obj->clID() != CLID_StatisticsFile ) {
37  m_objects.push_back(obj);
38  return true;
39  }
40  }
41  return false;
42  }
43 };
44 #endif // GAUDIKERNEL_HISTOGRAMAGENT_H
virtual bool analyse(IRegistry *pRegistry, int)
Analyses a given directory entry.
HistogramAgent()
Default creator.
HistogramAgent base in charge of collecting all the refereces to DataObjects in a transient store tha...
virtual ~HistogramAgent()
Destructor.
virtual const CLID & clID() const
Retrieve reference to class definition structure.
Definition: DataObject.cpp:58
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition: IRegistry.h:22
IDataSelector * selectedObjects()
Return the set of selected DataObjects.
virtual DataObject * object() const =0
Retrieve object behind the link.
IDataSelector m_objects
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