Class PvPleoraCompressed
Pleora compressed interface to a PvBuffer.
Implements
Inherited Members
Namespace: eBUSDotNet
Assembly: eBUSDotNet.dll
Syntax
public class PvPleoraCompressed : IDisposable
Remarks
A PvBuffer represents a generic buffer with no specific payload type. If the payload type is Pleora compressed, the user can obtain a pointer to a PvPleoraCompressed buffer interface through PvBuffer::GetPleoraCompressed.
This PvPleoraCompressed pointer is owned by the PvBuffer and does not need to
be released after use. It is valid as long as the PvBuffer exists.
Fields
View SourceswigCMemOwn
Determines who is responsible for deleting the underlying C++ object.
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Properties
View SourcePayloadLength
Payload length of PvPleoraCompressed.
Declaration
public ulong PayloadLength { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong |
Methods
View SourceAlloc(ulong)
Allocates memory for this #PvPleoraCompressed.
Declaration
public virtual PvResult Alloc(ulong aPayloadLength)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | aPayloadLength | The payload length of the compressed data, in pixels. See #GetPayloadLength. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|
Attach(byte[], ulong)
Attach this #PvPleoraCompressed to an external memory buffer.
Declaration
public PvResult Attach(byte[] aRawBuffer, ulong aPayloadLength)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | aRawBuffer | A pointer to the buffer. |
| ulong | aPayloadLength | The payload length of the raw data, in pixels. See #GetPayloadLength. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|
Detach()
Releases an attached memory buffer.
Declaration
public virtual byte* Detach()
Returns
| Type | Description |
|---|---|
| byte* | The buffer's location in memory. |
See Also
View SourceDispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Dispose
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~PvPleoraCompressed()
Destructor.
Declaration
protected ~PvPleoraCompressed()
Free()
Frees (de-allocates) the buffer's internal memory.
Declaration
public virtual void Free()