Class SLSimpleDataBuffer.TSLGenericBuffer
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
Revision as of 17:17, 18 October 2012
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: SLSimpleDataBuffer
Inherits: TSLData
Contents |
Syntax
Delphi:
type TSLGenericBuffer = class( TSLData, ISLGenericBuffer, ISLDataBuffer )
C++ Builder:
class TSLGenericBuffer : public TSLData
Visual C++ (MFC):
class CTSLGenericBuffer : public CTSLData
C# (.NET):
public ref class TSLGenericBuffer : Mitov.SignalLab.Vcl.VclProperty
Summary
Generic Delphi data buffer.
Description
This is the base class for all of the buffers in the VideoLab, AudioLab and SignalLab. Note Delphi only.
Methods
Public
- function MakeCopy() : TInterfacedObject - Creates a copy from the buffer.
- procedure SaveToFile(AFileName : String)
- procedure LoadFromFile(AFileName : String)
- function IsEqual(Other : ISLDataBuffer) : Boolean
- procedure Unique(PreserveData : Boolean)
- function MakeUnique(PreserveData : Boolean) : Boolean
- function GetByteSize() : Cardinal - Returns the size of the buffer in bytes.
- function GetSize() : Cardinal - Returns the size of the buffer in elements.
- function ByteRead() : PByte
- function ByteWrite() : PByte
- function ByteModify() : PByte
- procedure RemoveOwnerShip()
- function OwnsData() : Boolean
- function GetDataBufferIntf() : ISLDataBuffer