TDiskCopier
From Ultibo.org
Revision as of 04:12, 17 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit Filesystem __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible...")
Return to Unit Filesystem
Description
To be documented
Class definitions
TDiskCopier = class(TObject)
constructor Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer);
|
|
destructor Destroy; override;
|
|
private
| |
FLock:TSynchronizerHandle;
|
|
FLocalLock:TMutexHandle;
|
|
protected
| |
FDriver:TFileSysDriver;
|
|
FRecognizer:TRecognizer;
|
|
function AcquireLock:Boolean;
|
|
function ReleaseLock:Boolean;
|
|
public
| |
function ReaderLock:Boolean;
|
|
function ReaderUnlock:Boolean;
|
|
function WriterLock:Boolean;
|
|
function WriterUnlock:Boolean;
|
|
function AcceptVolume(AVolume,ADest:TDiskVolume):Boolean; virtual;
|
|
function CopyVolume(AVolume,ADest:TDiskVolume):Boolean; virtual;
|
|
function AcceptImage(AImage,ADest:TDiskImage):Boolean; virtual;
|
|
function CopyImage(AImage,ADest:TDiskImage):Boolean; virtual;
|
Function declarations
constructor TDiskCopier.Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer);
Description: To be documented
Note | None documented |
---|
destructor TDiskCopier.Destroy;
Description: To be documented
Note | None documented |
---|
function TDiskCopier.AcquireLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskCopier.ReleaseLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskCopier.ReaderLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskCopier.ReaderUnlock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskCopier.WriterLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskCopier.WriterUnlock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskCopier.AcceptVolume(AVolume,ADest:TDiskVolume):Boolean;
Description: To be documented
Note | Caller must hold the volume lock |
---|
function TDiskCopier.CopyVolume(AVolume,ADest:TDiskVolume):Boolean;
Description: To be documented
Note | Caller must hold the volume writer lock |
---|
function TDiskCopier.AcceptImage(AImage,ADest:TDiskImage):Boolean;
Description: To be documented
Note | Caller must hold the image lock |
---|
function TDiskCopier.CopyImage(AImage,ADest:TDiskImage):Boolean;
Description: To be documented
Note | Caller must hold the image writer lock |
---|
Return to Unit Reference