00001 00013 #ifndef IDYBENTRYPOLICYTOOL 00014 #define IDYBENTRYPOLICYTOOL 00015 00016 #include "GaudiKernel/IAlgTool.h" 00017 00018 class IDybEntryPolicyTool : virtual public IAlgTool 00019 { 00020 public: 00021 static const InterfaceID& interfaceID(); 00022 00023 // Set the max entry number for this policy 00024 virtual int set_entries(int entries) = 0; 00025 00026 // Return the entry number for the next object to load 00027 virtual int next_entry() = 0; 00028 00029 00030 protected: 00031 00032 virtual ~IDybEntryPolicyTool(); 00033 00034 00035 }; 00036 00037 #endif // IDYBENTRYPOLICYTOOL