#include <rm_resource.h>
Definition at line 19 of file rm_resource.h.
Public Member Functions | |
| rm_Resource_t () | |
| ~rm_Resource_t () | |
| rm_Resource_t & | operator= (const i_Resource_t &a_resource) |
| i_Resource_t | Convert2Corba () |
Public Attributes | |
| UInt32_t | resNum |
| Int32_t | poolKey |
| string | poolUUID |
| string | poolName |
| UInt32_t | poolType |
| string | libraryName |
| string | libraryHost |
| Int32_t | driveKey |
| string | driveCtrlDevice |
| string | driveIndex |
| string | driveHost |
| Int32_t | mediumKey |
| string | barcode |
| bool | load |
| bool | unload |
| UInt32_t | blockSize |
| UInt32_t | mediumFamily |
| string | loadSlotAddr |
| string | unloadSlotAddr |
| string | unloadBarcode |
| UInt32_t | medVolNr |
| string | medVolId |
| UInt32_t | medVolType |
| Int32_t | dssKey |
| Int32_t | fileId |
| Int32_t | blockOffset |
| Int64_t | splitOffset |
| bool | resRequested |
| i_ResourceBusy_e | resourceBusyStatus |
| bool | resAllocated |
| bool | resAssigned |
| bool | resBeaStarted |
| bool | resProcessed |
| bool | resReleased |
| bool | resMedOpComplete |
| bool | collocation |
| UInt64_t | majColId |
| UInt64_t | minColId |
| UInt32_t | minFlags |
| log_CLASSID_m | |
| rm_Resource_t::rm_Resource_t | ( | ) |
Definition at line 31 of file rm_resource.cpp.
00032 : resNum(0), 00033 poolKey(0), 00034 poolType(0), 00035 driveKey(0), 00036 mediumKey(0), 00037 load(false), 00038 unload(false), 00039 blockSize(0), 00040 mediumFamily(0), 00041 medVolNr(0), 00042 medVolType(0), 00043 dssKey(0), 00044 fileId(0), 00045 blockOffset(0), 00046 splitOffset(0), 00047 resRequested(false), 00048 resourceBusyStatus(i_RESOURCE_UNKNOWN), 00049 resAllocated(false), 00050 resAssigned(false), 00051 resBeaStarted(false), 00052 resProcessed(false), 00053 resReleased(false), 00054 resMedOpComplete(false), 00055 collocation(false), 00056 majColId(0), 00057 minColId(0), 00058 minFlags(0) 00059 { 00060 }
| rm_Resource_t::~rm_Resource_t | ( | ) | [inline] |
| rm_Resource_t & rm_Resource_t::operator= | ( | const i_Resource_t & | a_resource | ) |
Definition at line 62 of file rm_resource.cpp.
References i_Resource_t::barcode, barcode, i_Resource_t::blockOffset, blockOffset, i_Resource_t::blockSize, blockSize, i_Resource_t::collocation, collocation, i_Resource_t::driveCtrlDevice, driveCtrlDevice, i_Resource_t::driveHost, driveHost, i_Resource_t::driveIndex, driveIndex, i_Resource_t::driveKey, driveKey, i_Resource_t::dssKey, dssKey, i_Resource_t::fileId, fileId, i_Resource_t::libraryHost, libraryHost, i_Resource_t::libraryName, libraryName, i_Resource_t::load, load, i_Resource_t::loadSlotAddr, loadSlotAddr, i_Resource_t::majColId, majColId, i_Resource_t::mediumFamily, mediumFamily, i_Resource_t::mediumKey, mediumKey, i_Resource_t::medVolId, medVolId, i_Resource_t::medVolNr, medVolNr, i_Resource_t::medVolType, medVolType, i_Resource_t::minColId, minColId, i_Resource_t::minFlags, minFlags, i_Resource_t::poolKey, poolKey, i_Resource_t::poolName, poolName, i_Resource_t::poolType, poolType, i_Resource_t::poolUUID, poolUUID, i_Resource_t::resAllocated, resAllocated, i_Resource_t::resAssigned, resAssigned, i_Resource_t::resBeaStarted, resBeaStarted, i_Resource_t::resMedOpComplete, resMedOpComplete, i_Resource_t::resNum, resNum, i_Resource_t::resourceBusyStatus, resourceBusyStatus, i_Resource_t::resProcessed, resProcessed, i_Resource_t::resReleased, resReleased, i_Resource_t::resRequested, resRequested, i_Resource_t::splitOffset, splitOffset, i_Resource_t::unload, unload, i_Resource_t::unloadBarcode, unloadBarcode, i_Resource_t::unloadSlotAddr, and unloadSlotAddr.
00062 { 00063 00064 resNum = a_resource.resNum; 00065 poolKey = a_resource.poolKey; 00066 poolUUID = a_resource.poolUUID; 00067 poolName = a_resource.poolName; 00068 poolType = a_resource.poolType; 00069 libraryName = a_resource.libraryName; 00070 libraryHost = a_resource.libraryHost; 00071 00072 driveKey = a_resource.driveKey ; 00073 driveCtrlDevice = a_resource.driveCtrlDevice ; 00074 driveIndex = a_resource.driveIndex ; 00075 driveHost = a_resource.driveHost ; 00076 00077 00078 mediumKey = a_resource.mediumKey; 00079 barcode = a_resource.barcode; 00080 load = a_resource.load; 00081 unload = a_resource.unload; 00082 blockSize = a_resource.blockSize; 00083 mediumFamily = a_resource.mediumFamily; 00084 00085 loadSlotAddr = a_resource.loadSlotAddr; 00086 unloadSlotAddr = a_resource.unloadSlotAddr; 00087 unloadBarcode = a_resource.unloadBarcode; 00088 00089 medVolNr = a_resource.medVolNr; 00090 medVolId = a_resource.medVolId; 00091 medVolType = a_resource.medVolType; 00092 00093 dssKey = a_resource.dssKey; 00094 00095 fileId = a_resource.fileId; 00096 blockOffset = a_resource.blockOffset; 00097 splitOffset = a_resource.splitOffset; //used for recall resource allocation 00098 00099 resRequested = a_resource.resRequested; 00100 resourceBusyStatus = a_resource.resourceBusyStatus; 00101 resAllocated = a_resource.resAllocated; 00102 resAssigned = a_resource.resAssigned; 00103 resBeaStarted = a_resource.resBeaStarted; 00104 resReleased = a_resource.resReleased; 00105 resProcessed = a_resource.resProcessed; 00106 resMedOpComplete = a_resource.resMedOpComplete; 00107 00108 collocation = a_resource.collocation; 00109 majColId = a_resource.majColId; 00110 minColId = a_resource.minColId; 00111 minFlags = a_resource.minFlags; 00112 00113 00114 return *this; 00115 }
| i_Resource_t rm_Resource_t::Convert2Corba | ( | ) |
Definition at line 117 of file rm_resource.cpp.
References barcode, i_Resource_t::barcode, blockOffset, i_Resource_t::blockOffset, blockSize, i_Resource_t::blockSize, collocation, i_Resource_t::collocation, driveCtrlDevice, i_Resource_t::driveCtrlDevice, driveHost, i_Resource_t::driveHost, driveIndex, i_Resource_t::driveIndex, driveKey, i_Resource_t::driveKey, dssKey, i_Resource_t::dssKey, fileId, i_Resource_t::fileId, libraryHost, i_Resource_t::libraryHost, libraryName, i_Resource_t::libraryName, load, i_Resource_t::load, loadSlotAddr, i_Resource_t::loadSlotAddr, majColId, i_Resource_t::majColId, mediumFamily, i_Resource_t::mediumFamily, mediumKey, i_Resource_t::mediumKey, medVolId, i_Resource_t::medVolId, medVolNr, i_Resource_t::medVolNr, medVolType, i_Resource_t::medVolType, minColId, i_Resource_t::minColId, minFlags, i_Resource_t::minFlags, poolKey, i_Resource_t::poolKey, poolName, i_Resource_t::poolName, poolType, i_Resource_t::poolType, poolUUID, i_Resource_t::poolUUID, resAllocated, i_Resource_t::resAllocated, resAssigned, i_Resource_t::resAssigned, resBeaStarted, i_Resource_t::resBeaStarted, resMedOpComplete, i_Resource_t::resMedOpComplete, resNum, i_Resource_t::resNum, resourceBusyStatus, i_Resource_t::resourceBusyStatus, resProcessed, i_Resource_t::resProcessed, resReleased, i_Resource_t::resReleased, resRequested, i_Resource_t::resRequested, splitOffset, i_Resource_t::splitOffset, unload, i_Resource_t::unload, unloadBarcode, i_Resource_t::unloadBarcode, unloadSlotAddr, and i_Resource_t::unloadSlotAddr.
Referenced by i_Job_i::LoadUnload().
00117 { 00118 i_Resource_t iResource; 00119 00120 iResource.resNum = resNum; 00121 iResource.poolKey = poolKey; 00122 iResource.poolUUID = CORBA::string_dup(poolUUID.c_str()); 00123 iResource.poolName = CORBA::string_dup(poolName.c_str()); 00124 iResource.poolType = poolType; 00125 iResource.libraryName = CORBA::string_dup(libraryName.c_str()); 00126 iResource.libraryHost = CORBA::string_dup(libraryHost.c_str()); 00127 00128 iResource.driveKey = driveKey ; 00129 iResource.driveCtrlDevice = CORBA::string_dup(driveCtrlDevice.c_str()); 00130 iResource.driveIndex = CORBA::string_dup(driveIndex.c_str()); 00131 iResource.driveHost = CORBA::string_dup(driveHost.c_str()); 00132 00133 iResource.mediumKey = mediumKey; 00134 iResource.barcode = CORBA::string_dup(barcode.c_str()); 00135 iResource.load = load; 00136 iResource.unload = unload; 00137 iResource.blockSize = blockSize; 00138 iResource.mediumFamily = mediumFamily; 00139 00140 iResource.loadSlotAddr = CORBA::string_dup(loadSlotAddr.c_str()); 00141 iResource.unloadSlotAddr = CORBA::string_dup(unloadSlotAddr.c_str()); 00142 iResource.unloadBarcode = CORBA::string_dup(unloadBarcode.c_str()); 00143 00144 iResource.medVolNr = medVolNr; 00145 iResource.medVolId = CORBA::string_dup(medVolId.c_str()); 00146 iResource.medVolType = medVolType; 00147 00148 iResource.dssKey = dssKey; 00149 00150 iResource.fileId = fileId; 00151 iResource.blockOffset = blockOffset; 00152 iResource.splitOffset = splitOffset; //used for recall resource allocation 00153 00154 iResource.resRequested = resRequested; 00155 iResource.resourceBusyStatus = resourceBusyStatus; 00156 iResource.resAllocated = resAllocated; 00157 iResource.resAssigned = resAssigned; 00158 iResource.resBeaStarted = resBeaStarted; 00159 iResource.resReleased = resReleased; 00160 iResource.resProcessed = resProcessed; 00161 iResource.resMedOpComplete = resMedOpComplete; 00162 00163 iResource.collocation = collocation; 00164 iResource.majColId = majColId; 00165 iResource.minColId = minColId; 00166 iResource.minFlags = minFlags; 00167 00168 return iResource; 00169 }

Definition at line 26 of file rm_resource.h.
Referenced by rm_Operator::AllocateMigCollocation(), rm_Operator::AllocateMigDefault(), rm_Operator::AllocateRecall(), rm_Operator::CheckForAnyResourceForMig(), Convert2Corba(), operator=(), and rm_Operator::SelectMediumForMig().
| string rm_Resource_t::poolUUID |
Definition at line 27 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), and operator=().
| string rm_Resource_t::poolName |
Definition at line 29 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), and operator=().
| string rm_Resource_t::libraryName |
Definition at line 30 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), i_Job_i::LoadUnload(), operator=(), rm_Operator::SelectDriveForMig(), and rm_Operator::SelectMediumForMig().
| string rm_Resource_t::libraryHost |
Definition at line 31 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), i_Job_i::LoadUnload(), operator=(), rm_Operator::SelectDriveForMig(), and rm_Operator::SelectMediumForMig().
Definition at line 33 of file rm_resource.h.
Referenced by rm_Operator::AllocateMigCollocation(), rm_Operator::AllocateRecall(), Convert2Corba(), i_ResourceManager_i::ExchangeRecallResources(), i_ResourceManager_i::ExchangeResources(), i_AdminJob_i::OperateLA(), operator=(), rm_Operator::SelectDriveForMig(), rm_Operator::SelectMediumForMig(), and rm_Operator::SelectOpenedVolume().
Definition at line 34 of file rm_resource.h.
Referenced by Convert2Corba(), i_ResourceManager_i::ExchangeRecallResources(), i_ResourceManager_i::ExchangeResources(), and operator=().
| string rm_Resource_t::driveIndex |
Definition at line 35 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), i_ResourceManager_i::ExchangeRecallResources(), i_ResourceManager_i::ExchangeResources(), i_Job_i::LoadUnload(), operator=(), and rm_Operator::SelectDriveForMig().
| string rm_Resource_t::driveHost |
Definition at line 38 of file rm_resource.h.
Referenced by rm_Operator::AllocateAdmin(), rm_Operator::AllocateMigCollocation(), rm_Operator::AllocateRecall(), Convert2Corba(), i_ResourceManager_i::ExchangeResources(), operator=(), rm_Operator::SelectDriveForMig(), rm_Operator::SelectMediumForMig(), rm_Operator::SelectOpenedVolume(), and rm_Operator::UpdateCollocation().
| string rm_Resource_t::barcode |
Definition at line 39 of file rm_resource.h.
Referenced by rm_Operator::AllocateMigCollocation(), rm_Operator::AllocateRecall(), Convert2Corba(), i_ResourceManager_i::ExchangeRecallResources(), i_ResourceManager_i::ExchangeResources(), i_Job_i::LoadUnload(), operator=(), rm_Operator::SelectMediumForMig(), and rm_Operator::SelectOpenedVolume().
| bool rm_Resource_t::load |
Definition at line 40 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), i_ResourceManager_i::ExchangeRecallResources(), i_Job_i::LoadUnload(), i_AdminJob_i::OperateLA(), operator=(), and rm_Operator::SelectDriveForMig().
Definition at line 41 of file rm_resource.h.
Referenced by Convert2Corba(), operator=(), and rm_Operator::SelectDriveForMig().
Definition at line 42 of file rm_resource.h.
Referenced by rm_Operator::AllocateMigCollocation(), rm_Operator::AllocateRecall(), Convert2Corba(), operator=(), rm_Operator::SelectMediumForMig(), and rm_Operator::SelectOpenedVolume().
Definition at line 43 of file rm_resource.h.
Referenced by rm_Operator::AllocateMigCollocation(), rm_Operator::AllocateRecall(), Convert2Corba(), i_AdminJob_i::OperateLA(), operator=(), rm_Operator::SelectDriveForMig(), rm_Operator::SelectMediumForMig(), and rm_Operator::SelectOpenedVolume().
| string rm_Resource_t::loadSlotAddr |
Definition at line 45 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), i_ResourceManager_i::ExchangeRecallResources(), i_ResourceManager_i::ExchangeResources(), i_Job_i::LoadUnload(), operator=(), and rm_Operator::SelectDriveForMig().
Definition at line 46 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), i_ResourceManager_i::ExchangeRecallResources(), i_ResourceManager_i::ExchangeResources(), i_Job_i::LoadUnload(), operator=(), and rm_Operator::SelectDriveForMig().
| string rm_Resource_t::unloadBarcode |
Definition at line 47 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), i_ResourceManager_i::ExchangeRecallResources(), i_ResourceManager_i::ExchangeResources(), i_Job_i::LoadUnload(), operator=(), and rm_Operator::SelectDriveForMig().
Definition at line 49 of file rm_resource.h.
Referenced by rm_Operator::AllocateMigCollocation(), Convert2Corba(), operator=(), rm_Operator::SelectMediumForMig(), rm_Operator::SelectOpenedVolume(), and rm_Operator::UpdateCollocation().
| string rm_Resource_t::medVolId |
Definition at line 50 of file rm_resource.h.
Referenced by rm_Operator::AllocateMigCollocation(), Convert2Corba(), operator=(), rm_Operator::SelectMediumForMig(), and rm_Operator::SelectOpenedVolume().
Definition at line 60 of file rm_resource.h.
Referenced by rm_Operator::AllocateAdmin(), rm_Operator::AllocateMigCollocation(), rm_Operator::AllocateRecall(), rm_Operator::CheckForAnyResourceForMig(), Convert2Corba(), operator=(), rm_Operator::SelectMediumForMig(), and rm_Operator::SelectOpenedVolume().
Definition at line 61 of file rm_resource.h.
Referenced by rm_Operator::AllocateRecall(), Convert2Corba(), and operator=().
Definition at line 69 of file rm_resource.h.
Referenced by rm_Operator::AllocateMigCollocation(), Convert2Corba(), operator=(), and rm_Operator::UpdateCollocation().
Definition at line 70 of file rm_resource.h.
Referenced by rm_Operator::AllocateMigCollocation(), Convert2Corba(), operator=(), and rm_Operator::UpdateCollocation().
Definition at line 71 of file rm_resource.h.
Referenced by Convert2Corba(), operator=(), rm_Operator::SelectOpenedVolume(), and rm_Operator::UpdateCollocation().
Definition at line 76 of file rm_resource.h.
1.5.6