TDiskConverter

From Ultibo.org
Jump to: navigation, search

Return to Unit Filesystem


Description


To be documented

Class definitions



TDiskConverter = 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:TDiskVolume; AFileSysType:TFileSysType):Boolean; virtual;  
 
function ConvertVolume(AVolume:TDiskVolume; AFileSysType:TFileSysType):Boolean; virtual;  
 
function AcceptImage(AImage:TDiskImage; AImageType:TImageType):Boolean; virtual;  
 
function ConvertImage(AImage:TDiskImage; AImageType:TImageType):Boolean; virtual;  


Function declarations



constructor TDiskConverter.Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer);
Description: To be documented
Note None documented


destructor TDiskConverter.Destroy;
Description: To be documented
Note None documented


function TDiskConverter.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TDiskConverter.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function TDiskConverter.ReaderLock:Boolean;
Description: To be documented
Note None documented


function TDiskConverter.ReaderUnlock:Boolean;
Description: To be documented
Note None documented


function TDiskConverter.WriterLock:Boolean;
Description: To be documented
Note None documented


function TDiskConverter.WriterUnlock:Boolean;
Description: To be documented
Note None documented


function TDiskConverter.AcceptVolume(AVolume:TDiskVolume; AFileSysType:TFileSysType):Boolean;
Description: To be documented
Note Caller must hold the volume lock


function TDiskConverter.ConvertVolume(AVolume:TDiskVolume; AFileSysType:TFileSysType):Boolean;
Description: To be documented
Note Caller must hold the volume lock


function TDiskConverter.AcceptImage(AImage:TDiskImage; AImageType:TImageType):Boolean;
Description: To be documented
Note None documented


function TDiskConverter.ConvertImage(AImage:TDiskImage; AImageType:TImageType):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference