/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Types | Public Member Functions | Private Attributes
RootIOIncident Class Reference

An incident occured in RootIO. More...

#include <RootIOIncident.h>

List of all members.

Public Types

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

Public Member Functions

 RootIOIncident (const std::string &src, const std::string &typ="RootIOIncident")
 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
void setFilename (const std::string &fn)
void setState (FileState fs)

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

Enumerator:
unknown 
opened_output 
closing_output 
closed_output 
Nstates 

Definition at line 27 of file RootIOIncident.h.

                   {
        unknown,
        opened_output,    // file just openned for output
        closing_output,   // file about to be closed for output
        closed_output,    // file closed for output
        Nstates
    };

Constructor & Destructor Documentation

RootIOIncident::RootIOIncident ( const std::string &  src,
const std::string &  typ = "RootIOIncident" 
)

Definition at line 3 of file RootIOIncident.cc.

    : Incident(src,typ)
    , m_filename("")
    , m_state(unknown)
{
}
RootIOIncident::RootIOIncident ( const std::string &  src,
const std::string &  typ,
const std::string &  filename,
RootIOIncident::FileState  state 
)

Definition at line 9 of file RootIOIncident.cc.

    : Incident(src,typ)
    , m_filename(filename)
    , m_state(state)
{
}
RootIOIncident::~RootIOIncident ( ) [virtual]

Definition at line 16 of file RootIOIncident.cc.

{
}

Member Function Documentation

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

Definition at line 20 of file RootIOIncident.cc.

{
    return m_filename;
}
RootIOIncident::FileState RootIOIncident::state ( ) const

Definition at line 25 of file RootIOIncident.cc.

{
    return m_state;
}
void RootIOIncident::setFilename ( const std::string &  fn)

Definition at line 31 of file RootIOIncident.cc.

{
    m_filename = fn;
}
void RootIOIncident::setState ( FileState  fs)

Definition at line 36 of file RootIOIncident.cc.

{
    m_state = fs;
}

Member Data Documentation

std::string RootIOIncident::m_filename [private]

Definition at line 49 of file RootIOIncident.h.

Definition at line 50 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 Fri May 16 2014 09:58:18 for RootIOSvc by doxygen 1.7.4