Difference between revisions of "TVirtualDiskImager"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit VirtualDisk __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsib...")
 
(No difference)

Latest revision as of 06:02, 1 June 2018

Return to Unit VirtualDisk


Description


To be documented

Class definitions



TVirtualDiskImager = class(TDiskImager)

constructor Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer; AController:TDiskController);  
destructor Destroy; override;  
private
function CreateImageByType(const AName:String; AImageType:TImageType):TDiskImage;  
protected
FController:TDiskController;  
public
function AcceptImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64):Boolean; override;  
 
function CreateImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer; override;  
function OpenImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer; override;  
function CloseImage(AImage:TDiskImage):Boolean; override;  
 
function AcceptSnapshot(AImage:TDiskImage):Boolean; override;  
 
function CreateSnapshot(AImage:TDiskImage):Boolean; override;  
function DeleteSnapshot(AImage:TDiskImage):Boolean; override;  
function MergeSnapshot(AImage:TDiskImage):Boolean; override;  


Function declarations



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


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


function TVirtualDiskImager.CreateImageByType(const AName:String; AImageType:TImageType):TDiskImage;
Description: To be documented
Note None documented


function TVirtualDiskImager.AcceptImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64):Boolean;
Description: To be documented
Note Caller must hold the image lock


function TVirtualDiskImager.CreateImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer;
Description: To be documented
Note Caller must hold the image lock


function TVirtualDiskImager.OpenImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer;
Description: To be documented
Note Caller must hold the image lock


function TVirtualDiskImager.CloseImage(AImage:TDiskImage):Boolean;
Description: To be documented
Note Caller must hold the image lock


function TVirtualDiskImager.AcceptSnapshot(AImage:TDiskImage):Boolean;
Description: To be documented
Note Caller must hold the image lock


function TVirtualDiskImager.CreateSnapshot(AImage:TDiskImage):Boolean;
Description: To be documented
Note Caller must hold the image lock


function TVirtualDiskImager.DeleteSnapshot(AImage:TDiskImage):Boolean;
Description: To be documented
Note Caller must hold the image lock


function TVirtualDiskImager.MergeSnapshot(AImage:TDiskImage):Boolean;
Description: To be documented
Note Caller must hold the image lock


Return to Unit Reference