Property VLConnectedComponents.TVLConnectedComponents.SynchronizeType

From Mitov Wiki Doc
Revision as of 02:45, 11 June 2013 by David Alm (Talk | contribs)
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: TVLConnectedComponents

Contents

Syntax

Delphi:

property SynchronizeType : TSLSynchronizeType read FSynchronizeType write SetSynchronizeType default stNone;

C++ Builder:

__property TSLSynchronizeType SynchronizeType = { read=FSynchronizeType, write=SetSynchronizeType, default=stNone };

Summary

Specifies the type of thread buffer synchronization.

Description

VisionLab is fully multi threaded, however for the motion detector to be able to interact with user interface VCL components, the processed image will have to be synchronized with the User Interface thread. The synchronization can be done by the developer or the component can do the synchronization by setting this property to stQueue or stSingleBuffer.


Delphi example:

VLConnectedComponents1.SynchronizeType := stSingleBuffer;

C++ Builder example:

VLConnectedComponents1->SynchronizeType = stSingleBuffer;

Visual C++(MFC) example:

VLConnectedComponents1.SynchronizeType = stSingleBuffer;

Visual C++/CLI example:

connectedComponents1->SynchronizeType = Mitov::SignalLab::SynchronizeType::SingleBuffer;

C# example:

connectedComponents1.SynchronizeType = Mitov.SignalLab.SynchronizeType.SingleBuffer;

VB example:

ConnectedComponents1.SynchronizeType = Mitov.SignalLab.SynchronizeType.SingleBuffer

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox