Class PvPipelineEventSink
Observer interface for an observable PvPipeline object
Implements
Inherited Members
Namespace: eBUSDotNetReceive
Assembly: eBUSDotNetReceive.dll
Syntax
public class PvPipelineEventSink : IDisposable
Constructors
View SourcePvPipelineEventSink()
PvPipeline event sink constructor.
Declaration
public PvPipelineEventSink()
Fields
View SourceswigCMemOwn
Determines who is responsible for deleting the underlying C++ object.
Declaration
protected bool swigCMemOwn
Field Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceDispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Dispose
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
~PvPipelineEventSink()
Destructor.
Declaration
protected ~PvPipelineEventSink()
OnBufferCreated(PvPipeline, PvBuffer)
Called whenever a PvBuffer is allocated by the pipeline.
Declaration
public virtual void OnBufferCreated(PvPipeline aPipeline, PvBuffer aBuffer)
Parameters
| Type | Name | Description |
|---|---|---|
| PvPipeline | aPipeline | A pointer to the #PvPipeline object. |
| PvBuffer | aBuffer | Pointer to the buffer that was just created. |
OnBufferDeleted(PvPipeline, PvBuffer)
Called whenever a PvBuffer is deleted by the pipeline.
Declaration
public virtual void OnBufferDeleted(PvPipeline aPipeline, PvBuffer aBuffer)
Parameters
| Type | Name | Description |
|---|---|---|
| PvPipeline | aPipeline | A pointer to the #PvPipeline object. |
| PvBuffer | aBuffer | Pointer to the buffer that was just deleted. |
OnBufferReady(PvPipeline)
PvPipeline event sink OnBufferReady event.
Declaration
public virtual void OnBufferReady(PvPipeline aPipeline)
Parameters
| Type | Name | Description |
|---|---|---|
| PvPipeline | aPipeline | A pointer to the #PvPipeline object. |
OnBufferTooSmall(PvPipeline, SWIGTYPE_p_bool, SWIGTYPE_p_bool)
PvPipeline event sink OnBufferTooSmall event.
Declaration
public virtual void OnBufferTooSmall(PvPipeline aPipeline, SWIGTYPE_p_bool aReallocAll, SWIGTYPE_p_bool aResetStats)
Parameters
| Type | Name | Description |
|---|---|---|
| PvPipeline | aPipeline | A pointer to the #PvPipeline object. |
| SWIGTYPE_p_bool | aReallocAll | If set to true by at least one of the sinks, synchronous buffer re-allocation will be performed. |
| SWIGTYPE_p_bool | aResetStats | If set to true by at least one of the sinks, stream statistics are reset. |
OnReset(PvPipeline)
PvPipeline event sink OnReset event.
Declaration
public virtual void OnReset(PvPipeline aPipeline)
Parameters
| Type | Name | Description |
|---|---|---|
| PvPipeline | aPipeline | A pointer to the #PvPipeline object. |
OnStart(PvPipeline)
PvPipeline event sink OnStart event.
Declaration
public virtual void OnStart(PvPipeline aPipeline)
Parameters
| Type | Name | Description |
|---|---|---|
| PvPipeline | aPipeline | A pointer to the #PvPipeline object. |
OnStop(PvPipeline)
PvPipeline event sink OnStop event.
Declaration
public virtual void OnStop(PvPipeline aPipeline)
Parameters
| Type | Name | Description |
|---|---|---|
| PvPipeline | aPipeline | A pointer to the #PvPipeline object. |