All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HistogramAgent Class Reference

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

#include <GaudiKernel/HistogramAgent.h>

Inheritance diagram for HistogramAgent:
Collaboration diagram for HistogramAgent:

Public Member Functions

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

Protected Attributes

IDataSelector m_objects
 

Detailed Description

HistogramAgent 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 18 of file HistogramAgent.h.

Constructor & Destructor Documentation

HistogramAgent::HistogramAgent ( )
inline

Default creator.

Definition at line 23 of file HistogramAgent.h.

23  {
24  }
virtual HistogramAgent::~HistogramAgent ( )
inlinevirtual

Destructor.

Definition at line 26 of file HistogramAgent.h.

26  {
27  }

Member Function Documentation

virtual bool HistogramAgent::analyse ( IRegistry pRegistry,
int   
)
inlinevirtual

Analyses a given directory entry.

Implements IDataStoreAgent.

Definition at line 33 of file HistogramAgent.h.

33  {
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  }
virtual const CLID & clID() const
Retrieve reference to class definition structure.
Definition: DataObject.cpp:58
virtual DataObject * object() const =0
Retrieve object behind the link.
IDataSelector m_objects
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:31
IDataSelector* HistogramAgent::selectedObjects ( )
inline

Return the set of selected DataObjects.

Definition at line 29 of file HistogramAgent.h.

29  {
30  return &m_objects;
31  }
IDataSelector m_objects

Member Data Documentation

IDataSelector HistogramAgent::m_objects
protected

Definition at line 20 of file HistogramAgent.h.


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