<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://mitov.com/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://mitov.com/wiki/index.php?action=history&amp;feed=atom&amp;title=TSLGenericInt.OnProcessData</id>
		<title>TSLGenericInt.OnProcessData - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://mitov.com/wiki/index.php?action=history&amp;feed=atom&amp;title=TSLGenericInt.OnProcessData"/>
		<link rel="alternate" type="text/html" href="http://mitov.com/wiki/index.php?title=TSLGenericInt.OnProcessData&amp;action=history"/>
		<updated>2026-04-10T18:49:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://mitov.com/wiki/index.php?title=TSLGenericInt.OnProcessData&amp;diff=7850&amp;oldid=prev</id>
		<title>David Alm: Automated Syncronization with Documentation</title>
		<link rel="alternate" type="text/html" href="http://mitov.com/wiki/index.php?title=TSLGenericInt.OnProcessData&amp;diff=7850&amp;oldid=prev"/>
				<updated>2011-11-22T00:24:41Z</updated>
		
		<summary type="html">&lt;p&gt;Automated Syncronization with Documentation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;b&amp;gt;&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&lt;br /&gt;
This is a Beta Read Only version of this page. &lt;br /&gt;
Please review and send recommendations to [mailto:mitov@mitov.com mitov@mitov.com]. &lt;br /&gt;
We will enable the editing as soon as we are happy with the overall Wiki site.&lt;br /&gt;
&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Use the OnProcessData event handler to write code that&lt;br /&gt;
responds when a data buffer is received.&lt;br /&gt;
&lt;br /&gt;
Write your custom code to process the video data inside the&lt;br /&gt;
event. The incoming data will be contained inside the&lt;br /&gt;
InBuffer. You can assign the processed data to the OutBuffer.&lt;br /&gt;
&lt;br /&gt;
You can prevent the output buffer to be sent to the next&lt;br /&gt;
component by setting SendOutputData to False.&lt;br /&gt;
&lt;br /&gt;
Usually occurs when a new data buffer is generated during&lt;br /&gt;
data capturing or data playback.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Delphi Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 // Plot the buffer data&lt;br /&gt;
 &lt;br /&gt;
 procedure TForm1.SLGenericIntProcessData(Sender: TObject;&lt;br /&gt;
   InBuffer: ISLIntegerBuffer; var OutBuffer: ISLIntegerBuffer; var SendOutputData: Boolean);&lt;br /&gt;
 var&lt;br /&gt;
   InDataAccess : ISLIntegerDataAccess;&lt;br /&gt;
   I    : Integer;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 begin&lt;br /&gt;
   Chart1.Series[ 0 ].Clear();&lt;br /&gt;
   for I := 0 to InBuffer.GetSize() - 1 do&lt;br /&gt;
     Chart1.Series[ 0 ].Add( InBuffer.Items[ I ], '', clRed );&lt;br /&gt;
 &lt;br /&gt;
 end;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
C++ Builder Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 // Plot the buffer data&lt;br /&gt;
 &lt;br /&gt;
 void __fastcall TForm1::SLGenericIntProcessData(TObject *Sender,&lt;br /&gt;
       TSLCIntegerBuffer InBuffer, TSLCIntegerBuffer &amp;amp;amp;OutBuffer,&lt;br /&gt;
       bool &amp;amp;amp;SendOutputData)&lt;br /&gt;
 {&lt;br /&gt;
   Chart1-&amp;gt;Series[ 0 ]-&amp;gt;Clear();&lt;br /&gt;
   for( int i = 0; i &amp;lt; InBuffer.GetSize(); i ++ )&lt;br /&gt;
     Chart1-&amp;gt;Series[ 0 ]-&amp;gt;Add( InBuffer[ i ], &amp;quot;&amp;quot;, clRed );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Visual C++ Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 // Plot the buffer data&lt;br /&gt;
 &lt;br /&gt;
 void __stdcall CCustomFilterDemoDlg::SLGenericIntProcessData(void *Sender,&lt;br /&gt;
       TSLCIntegerBuffer InBuffer, TSLCIntegerBuffer &amp;amp;amp;OutBuffer,&lt;br /&gt;
       bool &amp;amp;amp;SendOutputData)&lt;br /&gt;
 {&lt;br /&gt;
   for( int i = 0; i &amp;lt; InBuffer.GetSize(); i ++ )&lt;br /&gt;
     {&lt;br /&gt;
     int Value = InBuffer[ i ];&lt;br /&gt;
     // Plot Value using your favorite Chart component.&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>David Alm</name></author>	</entry>

	</feed>