00001 00018 #ifndef ROOTIOINCIDENT 00019 #define ROOTIOINCIDENT 00020 00021 00022 #include "GaudiKernel/Incident.h" 00023 00024 class RootIOIncident : public Incident 00025 { 00026 public: 00027 enum FileState { 00028 opened_output, // file just openned for output 00029 closing_output, // file about to be closed for output 00030 closed_output, // file closed for output 00031 Nstates 00032 }; 00033 00034 RootIOIncident(const std::string& src,const std::string& typ, 00035 const std::string& filename, FileState state); 00036 virtual ~RootIOIncident(); 00037 00038 const std::string& filename() const; 00039 FileState state() const; 00040 00041 private: 00042 std::string m_filename; 00043 FileState m_state; 00044 }; 00045 00046 #endif // ROOTIOINCIDENT