Impact Vision SDK  11.8.1
VisionSDK.Operations.VisionGetFileOperation< T > Class Template Reference

This class represents a Get operation performed on a VisionFile on the Vision Device.
The return value is in the OperationResult<T>.ReturnValue property More...

Inheritance diagram for VisionSDK.Operations.VisionGetFileOperation< T >:
VisionSDK.Operations.VisionGetOperation< T > VisionSDK.IFile VisionSDK.Operations.VisionOperation VisionSDK.Operations.Operation

Protected Member Functions

override bool CanPerformOperation ()
 This method checks if it is a valid file or not More...
 
- Protected Member Functions inherited from VisionSDK.Operations.VisionGetOperation< T >
override bool CanPerformOperation ()
 An Override to check anything that causes an Operation to fail before its execution.
This method should be called before performing the operation so the operation will be executed only if this method returns true More...
 
- Protected Member Functions inherited from VisionSDK.Operations.VisionOperation
override bool CanPerformOperation ()
 Checks if DeviceConnection is connected before executing the operation More...
 
- Protected Member Functions inherited from VisionSDK.Operations.Operation
virtual void PerformOperation ()
 Override this method with a new one that contains the operation to execute More...
 

Properties

VisionFile File [get, set]
 The File on which to execute the operation More...
 
- Properties inherited from VisionSDK.Operations.VisionGetOperation< T >
new OperationResult< T > Result [get, set]
 Contains the operation result and the return value More...
 
- Properties inherited from VisionSDK.Operations.VisionOperation
VisionDeviceConnection DeviceConnection [get, set]
 The Connection to the Vision Device More...
 
- Properties inherited from VisionSDK.Operations.Operation
String Name [get, set]
 The Operation's Name
By Default this is set with the Operation's Type Name More...
 
OperationResult Result [get, set]
 The Operation Result More...
 
Action CompletionHandler [get, set]
 A delegate associated with the operation
This delegate never gets called by this class itself More...
 
- Properties inherited from VisionSDK.IFile
VisionFile File [get, set]
 The File More...
 

Additional Inherited Members

- Public Member Functions inherited from VisionSDK.Operations.VisionOperation
override void Execute ()
 This function checks CanPerformOperation() before it executes the operation
It then performs a lock on the DeviceConnection object so multiple operations cannot be executed at the same time. More...
 
- Public Member Functions inherited from VisionSDK.Operations.Operation
 Operation ()
 Constructor More...
 
object Clone ()
 
void AddCompletionHandler (Action< OperationResult > completionHandler)
 This method sets the completion handler of the operation More...
 
void AddCompletionHandler< T > (Action< OperationResult< T >> completionHandler)
 This method sets the completion handler of the operation More...
 
- Static Public Member Functions inherited from VisionSDK.Operations.Operation
static void DeleteOperation (Operation operation)
 Delete an Operation and its completion handler More...
 
- Protected Attributes inherited from VisionSDK.Operations.Operation
OperationResult result
 The Operation Result More...
 

Detailed Description

This class represents a Get operation performed on a VisionFile on the Vision Device.
The return value is in the OperationResult<T>.ReturnValue property

Template Parameters
TThe Return Value Type

Member Function Documentation

override bool VisionSDK.Operations.VisionGetFileOperation< T >.CanPerformOperation ( )
protectedvirtual

This method checks if it is a valid file or not

Returns
The OperationResult

Reimplemented from VisionSDK.Operations.Operation.

Property Documentation

The File on which to execute the operation

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