Gaudi Framework, version v22r0

Home   Generated: 9 Feb 2011

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:
Inheritance graph
[legend]
Collaboration diagram for HistogramAgent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HistogramAgent ()
 Default creator.
virtual ~HistogramAgent ()
 Destructor.
IDataSelectorselectedObjects ()
 Return the set of selected DataObjects.
virtual bool analyse (IRegistry *pRegistry, int)
 Analyses a given directory entry.

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.

00023                    {
00024   }

virtual HistogramAgent::~HistogramAgent (  )  [inline, virtual]

Destructor.

Definition at line 26 of file HistogramAgent.h.

00026                              {
00027   }


Member Function Documentation

virtual bool HistogramAgent::analyse ( IRegistry pRegistry,
int   
) [inline, virtual]

Analyses a given directory entry.

Implements IDataStoreAgent.

Definition at line 33 of file HistogramAgent.h.

00033                                                      {
00034     DataObject* obj = pRegistry->object();
00035     if ( 0 != obj )  {
00036       if ( obj->clID() != CLID_StatisticsFile )    {
00037         m_objects.push_back(obj);
00038         return true;
00039       }
00040     }
00041     return false;
00042   }

IDataSelector* HistogramAgent::selectedObjects (  )  [inline]

Return the set of selected DataObjects.

Definition at line 29 of file HistogramAgent.h.

00029                                       {
00030     return &m_objects;
00031   }


Member Data Documentation

Definition at line 20 of file HistogramAgent.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Wed Feb 9 16:30:47 2011 for Gaudi Framework, version v22r0 by Doxygen version 1.6.2 written by Dimitri van Heesch, © 1997-2004