Impact Vision SDK  11.8.1
VisionSDK.VisionDeviceEventListenerPeriodic Class Reference

This class is an Implementation of the VisionDeviceEventListener
This class will poll to perform a check for events and for the connection status with a period defined by the Interval Property. More...

Inheritance diagram for VisionSDK.VisionDeviceEventListenerPeriodic:
VisionSDK.VisionDeviceEventListener

Public Member Functions

 VisionDeviceEventListenerPeriodic (EventsManager eventsManager, OperationsExecutionScheduler executionScheduler, VisionFactory factory)
 Constructor More...
 
virtual void CheckEventsAndConnection ()
 This method will force an event check More...
 
- Public Member Functions inherited from VisionSDK.VisionDeviceEventListener
 VisionDeviceEventListener (EventsManager eventsManager)
 Constructor More...
 

Properties

OperationsExecutionScheduler ExecutionScheduler [get, set]
 This is the execution scheduler responsible for executing the CheckEventsOperation More...
 
VisionFactory Factory [get, set]
 The Factory used to create the CheckEventsOperation More...
 
Double Interval [get, set]
 The Polling interval More...
 
new Boolean CheckConnectionStatus [get, set]
 If True, performs the Connection Status Check More...
 
new Boolean ListenForOccurredEvents [get, set]
 If true, performs the Events Check More...
 
new VisionDeviceConnection DeviceConnection [get, set]
 The VisionDeviceConnection on which to check the events More...
 
- Properties inherited from VisionSDK.VisionDeviceEventListener
Boolean DiscardDuplicateEvents [get, set]
 If true, this will keep a single type of event for each check and discard the equivalents More...
 
int NumberOfContiguosFailBeforeFireConnectionLost [get, set]
 Specify a number of continuous failed checks before firing the Connection Lost event More...
 
int NumberOfContiguosFailOccurred [get]
 Return the number of failed requests that occurred More...
 
VisionDeviceConnection DeviceConnection [get, set]
 The VisionDeviceConnection on which to check the events More...
 
Boolean CheckConnectionStatus [get, set]
 If True, the Connection Status check is performed More...
 
Boolean ListenForOccurredEvents [get, set]
 If true, the Events check is performed More...
 
EventsManager EventManager [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from VisionSDK.VisionDeviceEventListener
void OnConnectionLost ()
 This method will fire the ConnectionLost Event More...
 
void OnOccurredEvent (VisionEvent visionEvent)
 This method will fire the Event based on the VisionEvent parameter More...
 
- Protected Attributes inherited from VisionSDK.VisionDeviceEventListener
int numberOfContiguosFailOccurred
 Keep track of the number of failed requests that occurred (cleared each time a successful request is performed) More...
 
VisionDeviceConnection deviceConnection
 
Boolean checkConnectionStatus
 
Boolean listenForOccurredEvents
 
- Events inherited from VisionSDK.VisionDeviceEventListener
EventHandler< VisionEventArgs > DidAcquiredABadImage
 Fired when a Bad Image is acquired from the camera More...
 
EventHandler< VisionEventArgs > DidAcquiredAnImage
 Fired when an Image is acquired from the camera More...
 
EventHandler< VisionEventArgs > DidLostTheConnection
 Fired if the VisionDeviceConnection loses the connection More...
 
EventHandler< VisionEventArgs > DidGoOnline
 Fired when the Vision Device goes to the online state More...
 
EventHandler< VisionEventArgs > DidGoOffline
 Fired when the Vision Device goes to the offline state More...
 
EventHandler< VisionCustomEventArgs > DidReceivedACustomEvent
 Fired if the Vision Device receives a custom event More...
 

Detailed Description

This class is an Implementation of the VisionDeviceEventListener
This class will poll to perform a check for events and for the connection status with a period defined by the Interval Property.

Constructor & Destructor Documentation

VisionSDK.VisionDeviceEventListenerPeriodic.VisionDeviceEventListenerPeriodic ( EventsManager  eventsManager,
OperationsExecutionScheduler  executionScheduler,
VisionFactory  factory 
)

Constructor

Parameters
eventsManagerThe EventsManager that fires the events that occurred
executionSchedulerThe ExecutionScheduler that executes the CheckEventOperation
factoryThe Factory used to create the CheckEventOperation

Member Function Documentation

virtual void VisionSDK.VisionDeviceEventListenerPeriodic.CheckEventsAndConnection ( )
virtual

This method will force an event check

Property Documentation

new Boolean VisionSDK.VisionDeviceEventListenerPeriodic.CheckConnectionStatus
getset

If True, performs the Connection Status Check

new VisionDeviceConnection VisionSDK.VisionDeviceEventListenerPeriodic.DeviceConnection
getset

The VisionDeviceConnection on which to check the events

OperationsExecutionScheduler VisionSDK.VisionDeviceEventListenerPeriodic.ExecutionScheduler
getset

This is the execution scheduler responsible for executing the CheckEventsOperation

VisionFactory VisionSDK.VisionDeviceEventListenerPeriodic.Factory
getset

The Factory used to create the CheckEventsOperation

Double VisionSDK.VisionDeviceEventListenerPeriodic.Interval
getset

The Polling interval

new Boolean VisionSDK.VisionDeviceEventListenerPeriodic.ListenForOccurredEvents
getset

If true, performs the Events Check

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