Class SLSimpleDataBuffer.TSLGenericBuffer
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 9: | Line 9: | ||
'''Unit:''' [[Unit SLSimpleDataBuffer|SLSimpleDataBuffer]] | '''Unit:''' [[Unit SLSimpleDataBuffer|SLSimpleDataBuffer]] | ||
− | '''Inherits:''' [[Class SLSimpleDataBuffer. | + | '''Inherits:''' [[Class SLSimpleDataBuffer.TSLData|TSLData]] |
== Syntax == | == Syntax == | ||
=== Delphi: === | === Delphi: === | ||
<code> | <code> | ||
− | '''type''' TSLGenericBuffer = '''class'''( [[Class SLSimpleDataBuffer. | + | '''type''' TSLGenericBuffer = '''class'''( [[Class SLSimpleDataBuffer.TSLData|TSLData, ISLGenericBuffer, ISLDataBuffer]] ) |
</code> | </code> | ||
=== C++ Builder: === | === C++ Builder: === | ||
<code> | <code> | ||
− | '''class''' TSLGenericBuffer : '''public''' [[Class SLSimpleDataBuffer. | + | '''class''' TSLGenericBuffer : '''public''' [[Class SLSimpleDataBuffer.TSLData|TSLData]] |
</code> | </code> | ||
=== Visual C++ (MFC): === | === Visual C++ (MFC): === | ||
<code> | <code> | ||
− | '''class''' CTSLGenericBuffer : '''public''' [[Class SLSimpleDataBuffer. | + | '''class''' CTSLGenericBuffer : '''public''' [[Class SLSimpleDataBuffer.TSLData|CTSLData]] |
</code> | </code> | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' TSLGenericBuffer : [[Class SLSimpleDataBuffer. | + | '''public ref class''' TSLGenericBuffer : [[Class SLSimpleDataBuffer.TSLData|Mitov.SignalLab.Vcl.VclProperty]] |
</code> | </code> | ||
== Summary == | == Summary == | ||
Line 37: | Line 37: | ||
Delphi only. | Delphi only. | ||
− | == From [[Class SLSimpleDataBuffer. | + | == Methods == |
+ | |||
+ | === Public === | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.MakeCopy() : TInterfacedObject|function MakeCopy() : TInterfacedObject]] - Creates a copy from the buffer. | ||
+ | *[[Method procedure SLSimpleDataBuffer.TSLGenericBuffer.SaveToFile(String)|procedure SaveToFile(AFileName : String)]] | ||
+ | *[[Method procedure SLSimpleDataBuffer.TSLGenericBuffer.LoadFromFile(String)|procedure LoadFromFile(AFileName : String)]] | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.IsEqual(ISLDataBuffer) : Boolean|function IsEqual(Other : ISLDataBuffer) : Boolean]] | ||
+ | *[[Method procedure SLSimpleDataBuffer.TSLGenericBuffer.Unique(Boolean)|procedure Unique(PreserveData : Boolean)]] | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.MakeUnique(Boolean) : Boolean|function MakeUnique(PreserveData : Boolean) : Boolean]] | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.GetByteSize() : Cardinal|function GetByteSize() : Cardinal]] - Returns the size of the buffer in bytes. | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.GetSize() : Cardinal|function GetSize() : Cardinal]] - Returns the size of the buffer in elements. | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.ByteRead() : PByte|function ByteRead() : PByte]] | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.ByteWrite() : PByte|function ByteWrite() : PByte]] | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.ByteModify() : PByte|function ByteModify() : PByte]] | ||
+ | *[[Method procedure SLSimpleDataBuffer.TSLGenericBuffer.RemoveOwnerShip()|procedure RemoveOwnerShip()]] | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.OwnsData() : Boolean|function OwnsData() : Boolean]] | ||
+ | *[[Method function SLSimpleDataBuffer.TSLGenericBuffer.GetDataBufferIntf() : ISLDataBuffer|function GetDataBufferIntf() : ISLDataBuffer]] | ||
+ | |||
+ | == From [[Class SLSimpleDataBuffer.TSLData|TSLData]] == | ||
== Methods == | == Methods == | ||
=== Public === | === Public === | ||
− | *[[Method function SLSimpleDataBuffer. | + | *[[Method procedure SLSimpleDataBuffer.TSLData.AssignData(ISLData)|procedure AssignData(AOther : ISLData)]] |
− | *[[Method function SLSimpleDataBuffer. | + | *[[Method function SLSimpleDataBuffer.TSLData.GetInstance() : TObject|function GetInstance() : TObject]] |
− | *[[Method function SLSimpleDataBuffer. | + | *[[Method function SLSimpleDataBuffer.TSLData.MakeCopy() : TInterfacedObject|function MakeCopy() : TInterfacedObject]] |
− | *[[Method function SLSimpleDataBuffer. | + | *[[Method function SLSimpleDataBuffer.TSLData.MakeIntfCopy() : ISLData|function MakeIntfCopy() : ISLData]] |
+ | *[[Method function SLSimpleDataBuffer.TSLData.GetDataIntf() : ISLData|function GetDataIntf() : ISLData]] | ||
+ | *[[Method procedure SLSimpleDataBuffer.TSLData.AddCustom(ISLData)|procedure AddCustom(AData : ISLData)]] | ||
+ | *[[Method function SLSimpleDataBuffer.TSLData.GetCustomCount() : Integer|function GetCustomCount() : Integer]] | ||
+ | *[[Method function SLSimpleDataBuffer.TSLData.GetCustom(Integer) : ISLData|function GetCustom(AIndex : Integer) : ISLData]] | ||
[[Category:Classes]] | [[Category:Classes]] |
Revision as of 16:52, 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