Impact Vision SDK  11.8.1
VisionSDK.Threading.DispatcherScheduler Class Reference

This class is used to perform Actions using a different Dispatcher from the caller's one
This class is used to execute Actions on the main thread even if called from a different thread. More...

Inheritance diagram for VisionSDK.Threading.DispatcherScheduler:
VisionSDK.Threading.IScheduler

Public Member Functions

 DispatcherScheduler ()
 Constructor More...
 
void Schedule (Action action)
 This method will perform an Action on the selected Dispatcher More...
 

Static Public Member Functions

static DispatcherScheduler Create ()
 

Properties

Boolean ExecuteActionsUsingDispatcher [get, set]
 If true the Actions will be executed using the set dispatcher, otherwise the caller's one More...
 
Dispatcher ActionsDispatcher [get, set]
 The dispatcher More...
 
static DispatcherScheduler SharedInstance [get]
 This will return a single instance of ActionsExecutor More...
 

Detailed Description

This class is used to perform Actions using a different Dispatcher from the caller's one
This class is used to execute Actions on the main thread even if called from a different thread.

Constructor & Destructor Documentation

VisionSDK.Threading.DispatcherScheduler.DispatcherScheduler ( )

Constructor

Member Function Documentation

static DispatcherScheduler VisionSDK.Threading.DispatcherScheduler.Create ( )
static
void VisionSDK.Threading.DispatcherScheduler.Schedule ( Action  action)

This method will perform an Action on the selected Dispatcher

Parameters
actionThe Action to perform

Implements VisionSDK.Threading.IScheduler.

Property Documentation

Dispatcher VisionSDK.Threading.DispatcherScheduler.ActionsDispatcher
getset

The dispatcher

Boolean VisionSDK.Threading.DispatcherScheduler.ExecuteActionsUsingDispatcher
getset

If true the Actions will be executed using the set dispatcher, otherwise the caller's one

DispatcherScheduler VisionSDK.Threading.DispatcherScheduler.SharedInstance
staticget

This will return a single instance of ActionsExecutor

HTML Footer Datalogic Automation, Inc.    ©2016 Datalogic Automation Inc. All Rights Reserved