C# Class RioSharp.RioFixedBufferPool

Inheritance: IDisposable
Show file Open project: aL3891/RioSharp Class Usage Examples

Private Properties

Property Type Description
SetInUse void

Public Methods

Method Description
Dispose ( ) : void
GetBuffer ( ) : RioBufferSegment
ReleaseBuffer ( RioBufferSegment buffer ) : void
RioFixedBufferPool ( int segmentCount, int segmentLength ) : System
SetBufferId ( IntPtr id ) : void
TryGetBuffer ( RioBufferSegment &buf ) : bool

Private Methods

Method Description
SetInUse ( RioBufferSegment buf, bool value ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetBuffer() public method

public GetBuffer ( ) : RioBufferSegment
return RioBufferSegment

ReleaseBuffer() public method

public ReleaseBuffer ( RioBufferSegment buffer ) : void
buffer RioBufferSegment
return void

RioFixedBufferPool() public method

public RioFixedBufferPool ( int segmentCount, int segmentLength ) : System
segmentCount int
segmentLength int
return System

SetBufferId() public method

public SetBufferId ( IntPtr id ) : void
id System.IntPtr
return void

TryGetBuffer() public method

public TryGetBuffer ( RioBufferSegment &buf ) : bool
buf RioBufferSegment
return bool