Public Member Functions | Private Attributes

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.

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

Detailed Description

Definition at line 1298 of file rm_dboperation.h.


Constructor & Destructor Documentation

dbo_DriveError::dbo_DriveError ( UInt32_t  a_drvKey,
rm_DBThread a_DBThread 
)

Definition at line 1151 of file rm_dboperation.cpp.

                                                 : 

                rm_DBOperation(a_DBThread),
                m_drvKey(a_drvKey) {
    /*empty*/
}


Member Function Documentation

void dbo_DriveError::Process (  )  [virtual]

Implements rm_DBOperation.

Definition at line 1160 of file rm_dboperation.cpp.

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

                             {

    i_Drive_t d = m_DBThread.m_rmOp.SelectDrive(m_drvKey);
    d.status = d.status | rmdb_DRIVE_ERROR;
    m_DBThread.m_rmOp.Update(d);    
    log_WriteEvent("Drive Error Marked", "", 0, string(d.driveName));

}

Here is the call graph for this function:


Member Data Documentation

Reimplemented from rm_DBOperation.

Definition at line 1305 of file rm_dboperation.h.

Definition at line 1304 of file rm_dboperation.h.

Referenced by Process().


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