dbo_DriveError Class Reference

#include <rm_dboperation.h>

Inheritance diagram for dbo_DriveError:

Inheritance graph
[legend]
Collaboration diagram for dbo_DriveError:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 1282 of file rm_dboperation.h.


Public Member Functions

 dbo_DriveError (UInt32_t a_drvKey, rm_DBThread &a_DBThread)
virtual void Process ()

Private Attributes

UInt32_t m_drvKey
 log_CLASSID_m

Constructor & Destructor Documentation

dbo_DriveError::dbo_DriveError ( UInt32_t  a_drvKey,
rm_DBThread a_DBThread 
)

Definition at line 1137 of file rm_dboperation.cpp.

01139                                                  : 
01140 
01141                 rm_DBOperation(a_DBThread),
01142                 m_drvKey(a_drvKey) {
01143     /*empty*/
01144 }


Member Function Documentation

void dbo_DriveError::Process (  )  [virtual]

Implements rm_DBOperation.

Definition at line 1146 of file rm_dboperation.cpp.

References i_Drive_t::driveName, log_WriteEvent(), rm_DBOperation::m_DBThread, m_drvKey, rm_DBThread::m_rmOp, rmdb_DRIVE_ERROR, rm_Operator::SelectDrive(), i_Drive_t::status, and rm_Operator::Update().

01146                              {
01147 
01148     i_Drive_t d = m_DBThread.m_rmOp.SelectDrive(m_drvKey);
01149     d.status = d.status | rmdb_DRIVE_ERROR;
01150     m_DBThread.m_rmOp.Update(d);    
01151     log_WriteEvent("Drive Error Marked", "", 0, string(d.driveName));
01152 
01153 }

Here is the call graph for this function:


Member Data Documentation

Definition at line 1288 of file rm_dboperation.h.

Referenced by Process().

Reimplemented from rm_DBOperation.

Definition at line 1289 of file rm_dboperation.h.


The documentation for this class was generated from the following files:

Generated on Mon Feb 27 19:07:53 2012 for OPENARCHIVE by  doxygen 1.5.6