#include <rm_dboperation.h>


Definition at line 1133 of file rm_dboperation.h.
Public Member Functions | |
| dbo_MediumUnreliable (UInt32_t a_medKey, rm_DBThread &a_DBThread) | |
| virtual void | Process () |
Private Attributes | |
| UInt32_t | m_medKey |
| log_CLASSID_m | |
| dbo_MediumUnreliable::dbo_MediumUnreliable | ( | UInt32_t | a_medKey, | |
| rm_DBThread & | a_DBThread | |||
| ) |
Definition at line 1155 of file rm_dboperation.cpp.
01157 : 01158 01159 rm_DBOperation(a_DBThread), 01160 m_medKey(a_medKey) { 01161 /*empty*/ 01162 }
| void dbo_MediumUnreliable::Process | ( | ) | [virtual] |
Implements rm_DBOperation.
Definition at line 1164 of file rm_dboperation.cpp.
References i_Medium_t::barcode, log_WriteEvent(), rm_DBOperation::m_DBThread, m_medKey, rm_DBThread::m_rmOp, rmdb_MEDIUM_UNRELIABLE, rmdb_MEDIUM_UNUSABLE, rm_Operator::SelectMedium(), i_Medium_t::status, and rm_Operator::Update().
01164 { 01165 i_Medium_t m = m_DBThread.m_rmOp.SelectMedium(m_medKey); 01166 // clear unusable flag 01167 m.status = m.status & ~rmdb_MEDIUM_UNUSABLE; 01168 // set unreliable flag 01169 m.status = m.status | rmdb_MEDIUM_UNRELIABLE; 01170 log_WriteEvent("Medium marked unreliable", "", 0, string(m.barcode)); 01171 m_DBThread.m_rmOp.Update(m); 01172 }

UInt32_t dbo_MediumUnreliable::m_medKey [private] |
dbo_MediumUnreliable::log_CLASSID_m [private] |
1.5.6