Method procedure SLGenericFilter.TSLGenericFilter.SendData(ISLBlockBuffer)

From Mitov Wiki Doc
Jump to: navigation, search

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.

Class: TSLGenericFilter

Contents

Syntax

Delphi:

procedure SendData( OutBuffer : ISLBlockBuffer );

C++ Builder:

void __fastcall SendData( ISLBlockBuffer OutBuffer );

Visual C++ (MFC):

void SendData( ISLBlockBuffer OutBuffer );

Summary

Sends data buffer trough the output pin.

Description

By calling this method you can send data via the OutputPin of the filter.

Use this method together with SendStartCommand and SendStopCommand to do manual data pumping.


Delphi example:

var
  DataBuffer : ISLBlockBuffer;

DataBuffer := TSLBlockBuffer.CreateSize( SizeOfMyDtataBuffer )
DataBuffer.Zero();

SLGenericFilter1.SendData( DataBuffer );

C++ Builder example:

TSLCBlockBuffer DataBuffer( SizeOfMyDtataBuffer );
DataBuffer->Zero();

SLGenericFilter1->SendData( DataBuffer );

Visual C++(MFC/Win32) example:

TSLCBlockBuffer DataBuffer( SizeOfMyDtataBuffer );
DataBuffer.Zero();

SLGenericFilter1.SendData( DataBuffer );

Visual C++/CLI example:

Mitov.SignalLab.BlockBuffer ^DataBuffer = gcnew Mitov.SignalLab.BlockBuffer(SizeOfMyDtataBuffer);
DataBuffer->Zero();

genericFilter1->SendData(DataBuffer);

C# example:

Mitov.SignalLab.BlockBuffer DataBuffer = new Mitov.SignalLab.BlockBuffer(SizeOfMyDtataBuffer);
DataBuffer.Zero();

genericFilter1.SendData(DataBuffer);

VB example:

Dim DataBuffer as Mitov.SignalLab.BlockBuffer = new Mitov.SignalLab.BlockBuffer(SizeOfMyDtataBuffer)
DataBuffer.Zero

GenericFilter1.SendData(DataBuffer)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox