#include <bea_diskdrive.h>


Definition at line 26 of file bea_diskdrive.h.
Public Member Functions | |
| bea_DiskDrive () | |
| virtual void | Open (const string &a_deviceID, const string &a_barcode, UInt64_t a_jobID) |
| virtual void | Close () |
| virtual const string & | GetVendorID () const |
| virtual const string & | GetProductID () const |
| virtual const string & | GetProductRevision () const |
| virtual const string & | GetSerialNumber () const |
| virtual UInt64_t | GetDefaultSeekThreshold () const |
Protected Member Functions | |
| virtual | ~bea_DiskDrive () |
Private Attributes | |
| log_CLASSID_m | |
| bea_DiskDrive::bea_DiskDrive | ( | ) |
Definition at line 35 of file bea_diskdrive.cpp.
References log_FUNC_m.
00035 { 00036 00037 log_FUNC_m(bea_DiskDrive); 00038 }
| bea_DiskDrive::~bea_DiskDrive | ( | ) | [protected, virtual] |
Definition at line 40 of file bea_diskdrive.cpp.
References log_FUNC_m.
00040 { 00041 log_FUNC_m(~bea_DiskDrive); 00042 }
| void bea_DiskDrive::Open | ( | const string & | a_deviceID, | |
| const string & | a_barcode, | |||
| UInt64_t | a_jobID | |||
| ) | [virtual] |
Implements bea_Drive.
Definition at line 44 of file bea_diskdrive.cpp.
References cmn_Global::evt, g_cmn, bea_Drive::GetMedium(), log_FUNC_A_m, bea_Medium::SetBarcode(), bea_Drive::SetJobID(), bea_Drive::SetMedium(), and log_EventLogger::SetQualifier().
00047 { 00048 00049 log_FUNC_A_m(Open, 00050 "a_deviceID: " << a_deviceID << 00051 " a_bc: " << a_barcode << 00052 " a_jobID: " << a_jobID); 00053 00054 g_cmn.evt.SetQualifier(a_deviceID); 00055 00056 SetMedium(new bea_DiskMedium(a_barcode)); 00057 00058 SetJobID(a_jobID); 00059 00060 if (GetMedium()->GetBarcode() != a_barcode) { 00061 GetMedium()->SetBarcode(a_barcode); 00062 } 00063 }

| void bea_DiskDrive::Close | ( | ) | [virtual] |
Implements bea_Drive.
Definition at line 65 of file bea_diskdrive.cpp.
References cmn_Global::evt, g_cmn, log_FUNC_m, NULL, bea_Drive::SetMedium(), and log_EventLogger::SetQualifier().
00065 { 00066 log_FUNC_m(Close); 00067 00068 g_cmn.evt.SetQualifier(""); 00069 00070 // Close all files and reset internal members 00071 00072 SetMedium(NULL); 00073 }

| const string & bea_DiskDrive::GetVendorID | ( | ) | const [virtual] |
| const string & bea_DiskDrive::GetProductID | ( | ) | const [virtual] |
| const string & bea_DiskDrive::GetProductRevision | ( | ) | const [virtual] |
| const string & bea_DiskDrive::GetSerialNumber | ( | ) | const [virtual] |
| UInt64_t bea_DiskDrive::GetDefaultSeekThreshold | ( | ) | const [virtual] |
Reimplemented from bea_Drive.
Definition at line 95 of file bea_diskdrive.cpp.
References cfg_KILOBYTE.
00095 { 00096 return cfg_KILOBYTE; 00097 }
bea_DiskDrive::log_CLASSID_m [private] |
1.5.6