00001 // $Id: DataStoreLoadAgent.h,v 1.1 2005/03/18 15:47:08 cattanem Exp $ 00002 #ifndef DATASTORELOADAGENT_H 00003 #define DATASTORELOADAGENT_H 1 00004 00005 // Include files 00006 #include "GaudiKernel/IDataStoreAgent.h" 00007 00015 class DataStoreLoadAgent: public IDataStoreAgent { 00016 public: 00018 DataStoreLoadAgent( ); 00019 00020 virtual ~DataStoreLoadAgent( ); 00021 00022 virtual bool analyse (IRegistry *pObject, int level); 00023 00027 inline int loadedObjects () const { return m_loadedObjects; } 00028 00032 inline int maxDepth () const { return m_maxDepth; } 00033 00038 inline void resetCounters() { m_loadedObjects = m_maxDepth = 0; } 00039 00040 00041 protected: 00042 00043 private: 00044 int m_loadedObjects; 00045 int m_maxDepth; 00046 }; 00047 #endif // DATASTORELOADAGENT_H