Method procedure SLGenericComplex.TSLGenericComplex.SendData(ISLComplexBuffer)

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: TSLGenericComplex

Contents

Syntax

Delphi:

procedure SendData( OutBuffer : ISLComplexBuffer );

C++ Builder:

void __fastcall SendData( ISLComplexBuffer OutBuffer );

Visual C++ (MFC):

void SendData( ISLComplexBuffer 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
  ComplexDataBuffer : ISLComplexBuffer;

ComplexDataBuffer := TSLComplexBuffer.CreateSize( SizeOfMyDtataBuffer )
ComplexDataBuffer.Data().Zero();

SLGenericComplex1.SendData( ComplexDataBuffer );

C++ Builder example:

TSLCComplexBuffer ComplexDataBuffer( SizeOfMyDtataBuffer );
ComplexDataBuffer->Zero();

SLGenericComplex1->SendData( ComplexDataBuffer );

Visual C++(MFC) example:

TSLCComplexBuffer ComplexDataBuffer( SizeOfMyDtataBuffer );
ComplexDataBuffer.Zero();

SLGenericComplex1.SendData( ComplexDataBuffer );

Visual C++/CLI example:

Mitov.SignalLab.ComplexBuffer ^ComplexDataBuffer = gcnew Mitov.SignalLab.ComplexBuffer(SizeOfMyDtataBuffer);
ComplexDataBuffer->Zero();

genericComplex1->SendData(ComplexDataBuffer);

C# example:

Mitov.SignalLab.ComplexBuffer ComplexDataBuffer = new Mitov.SignalLab.ComplexBuffer(SizeOfMyDtataBuffer);
ComplexDataBuffer.Zero();

genericComplex1.SendData(ComplexDataBuffer);

VB example:

Dim ComplexDataBuffer as Mitov.SignalLab.ComplexBuffer = new Mitov.SignalLab.ComplexBuffer(SizeOfMyDtataBuffer)
ComplexDataBuffer.Zero

GenericComplex1.SendData(ComplexDataBuffer)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox