| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

RootIOIncident Class Reference

An incident occured in RootIO. More...

#include <RootIOIncident.h>

Inheritance diagram for RootIOIncident:

[legend]
Collaboration diagram for RootIOIncident:
[legend]
List of all members.

Public Types

 opened_output
 closing_output
 closed_output
 Nstates
enum  FileState { opened_output, closing_output, closed_output, Nstates }

Public Member Functions

 RootIOIncident (const std::string &src, const std::string &typ, const std::string &filename, FileState state)
virtual ~RootIOIncident ()
const std::string & filename () const
FileState state () const
const std::string & type () const
const std::string & source () const

Private Attributes

std::string m_filename
FileState m_state

Detailed Description

An incident occured in RootIO.

Incidents are emitted when the following occurs:

Brett Viren <bv@bnl.gov> Fri Feb 18 14:02:05 2011

Definition at line 24 of file RootIOIncident.h.


Member Enumeration Documentation

enum RootIOIncident::FileState

Enumerator:
opened_output 
closing_output 
closed_output 
Nstates 

Definition at line 27 of file RootIOIncident.h.

00027                    {
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     };


Constructor & Destructor Documentation

RootIOIncident::RootIOIncident ( const std::string &  src,
const std::string &  typ,
const std::string &  filename,
FileState  state 
)

Definition at line 3 of file RootIOIncident.cc.

00005     : Incident(src,typ)
00006     , m_filename(filename)
00007     , m_state(state)
00008 {
00009 }

RootIOIncident::~RootIOIncident (  )  [virtual]

Definition at line 10 of file RootIOIncident.cc.

00011 {
00012 }


Member Function Documentation

const std::string & RootIOIncident::filename (  )  const

Definition at line 14 of file RootIOIncident.cc.

00015 {
00016     return m_filename;
00017 }

RootIOIncident::FileState RootIOIncident::state (  )  const

Definition at line 19 of file RootIOIncident.cc.

00020 {
00021     return m_state;
00022 }


Member Data Documentation

std::string RootIOIncident::m_filename [private]

Definition at line 42 of file RootIOIncident.h.

FileState RootIOIncident::m_state [private]

Definition at line 43 of file RootIOIncident.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:18:21 2011 for RootIOSvc by doxygen 1.4.7