Class SLSimpleDataBuffer.TSLMemoryBuffer
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 5: | Line 5: | ||
</span></b> | </span></b> | ||
− | '''Package:''' [[Package | + | '''Package:''' [[Package Mitov.BasicLab|Mitov.BasicLab]] |
'''Unit:''' [[Unit SLSimpleDataBuffer|SLSimpleDataBuffer]] | '''Unit:''' [[Unit SLSimpleDataBuffer|SLSimpleDataBuffer]] | ||
Line 26: | Line 26: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' MemoryBuffer : [[Class SLSimpleDataBuffer.TSLGenericBuffer|Mitov.SignalLab.GenericBuffer]] |
</code> | </code> | ||
== Summary == | == Summary == |
Latest revision as of 00:29, 26 June 2013
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: Mitov.BasicLab
Unit: SLSimpleDataBuffer
Inherits: TSLGenericBuffer
Contents |
Syntax
Delphi:
type TSLMemoryBuffer = class( TSLGenericBuffer )
C++ Builder:
class TSLMemoryBuffer : public TSLGenericBuffer
Visual C++ (MFC):
class CTSLMemoryBuffer : public CTSLGenericBuffer
C# (.NET):
public ref class MemoryBuffer : Mitov.SignalLab.GenericBuffer
Summary
Delphi base class for all of the memory buffers.
Description
This is the base class for all of the memory buffers in the LabPacks.
Properties
Public
Methods
Public
- function MakeCopy() : TInterfacedObject
- function ByteRead() : PByte
- function ByteWrite() : PByte
- function ByteModify() : PByte
- function GetByteSize() : Cardinal - Call this method to get the buffer size in bytes.
- function GetCharSize() : Cardinal - Call this method to get the buffer size in characters.
- function GetSize() : Cardinal - Call this method to get the buffer size in bytes.
From TSLGenericBuffer
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