Impact Vision SDK  11.8.1
VisionSDK.EventsManager Class Reference

This class is used to fire an event using a different Dispatcher from the caller's More...

Public Member Functions

 EventsManager ()
 Constructor More...
 
void FireEvent< T > (EventHandler< T > eventHandler, object sender, T eventArgs)
 This method fires an event More...
 

Properties

Boolean FireEventsUsingDispatcher [get, set]
 If true, the events will be fired using the EventsDispatcher, otherwise they will be fired in the caller thread More...
 
Dispatcher EventsDispatcher [get, set]
 The Dispatcher to use to fire the events More...
 
static EventsManager SharedInstance [get]
 Returns a Singleton instance of the EventsManager More...
 

Detailed Description

This class is used to fire an event using a different Dispatcher from the caller's

Constructor & Destructor Documentation

VisionSDK.EventsManager.EventsManager ( )

Constructor

Member Function Documentation

void VisionSDK.EventsManager.FireEvent< T > ( EventHandler< T >  eventHandler,
object  sender,
T  eventArgs 
)

This method fires an event

Template Parameters
TThe EventArgs Type
Parameters
eventHandlerThe Event handler
senderThe Sender
eventArgsThe Event Args
Type Constraints
T :EventArgs 

Property Documentation

Dispatcher VisionSDK.EventsManager.EventsDispatcher
getset

The Dispatcher to use to fire the events

Boolean VisionSDK.EventsManager.FireEventsUsingDispatcher
getset

If true, the events will be fired using the EventsDispatcher, otherwise they will be fired in the caller thread

EventsManager VisionSDK.EventsManager.SharedInstance
staticget

Returns a Singleton instance of the EventsManager

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