Property TLStopWatch.TTLStopWatch.SynchronizeType

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

Contents

Syntax

Delphi:

property SynchronizeType : TSLSynchronizeType read GetSynchronizeType write SetSynchronizeType default stSingleBuffer;

C++ Builder:

__property TSLSynchronizeType SynchronizeType = { read=GetSynchronizeType, write=SetSynchronizeType, default=stSingleBuffer };

Summary

Specifies the type of thread buffer synchronization.

Description

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

<c>TLStopWatch1.SynchronizeType := [[Enum item SLTypes.TSLSynchronizeType.stSingleBuffer|stSingleBuffer]];</c>

C++ Builder example:

<c>TLStopWatch1->SynchronizeType = [[Enum item SLTypes.TSLSynchronizeType.stSingleBuffer|stSingleBuffer]];</c>

Visual C++(MFC) example:

<c>TLStopWatch1.SynchronizeType = [[Enum item SLTypes.TSLSynchronizeType.stSingleBuffer|stSingleBuffer]];</c>

Visual C++/CLI example:

<c>stopWatch1->SynchronizeType = Mitov::SignalLab::SynchronizeType::SingleBuffer;</c>

C# example:

<c>stopWatch1.SynchronizeType = Mitov.SignalLab.SynchronizeType.SingleBuffer;</c>

VB example:

<c>StopWatch1.SynchronizeType = Mitov.SignalLab.SynchronizeType.SingleBuffer</c>

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox