Files
bds.mr.devmgr/src.devmgr/dev/usb/mr.dev.usb.pipebase.pas
T
2026-01-03 18:53:14 +01:00

45 lines
1.4 KiB
ObjectPascal

unit mr.dev.usb.pipebase;
interface
uses
mr.drv.usb,
mr.drv.usb.types;
type
TPipeBase = class
protected
fDriver : TUsbDriver;
fPipeInfo: TUsbPipeInformation;
public
constructor Create( Driver : TUsbDriver;
PipeInfo : TUsbPipeInformation);
public
property ID : byte read fPipeInfo.PipeID;
end;
implementation
{ TPipe }
// @@@: Construction / destruction ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Construction / destruction
//
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// ================================================================================================
// Constructor
// ================================================================================================
constructor TPipeBase.Create(Driver: TUsbDriver; PipeInfo: TUsbPipeInformation);
begin
fDriver := Driver;
fPipeInfo := PipeInfo;
end;
end.