Click or drag to resize

IJobManager Interface

Represents the interface that provides the functionalities to load, save, and run jobs. Jobs are also possible to be run in a batch, in a sequential or parallel way.

Namespace: RAYLASE.Marker.Job
Assembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
Syntax
C#
public interface IJobManager

The IJobManager type exposes the following members.

Properties
 NameDescription
Public propertyJobExecutorTypes A read-only list of available job executors.
Public propertySupportedJobfileLabelAndTypes Gets the labels and extensions of the supported file types.
Public propertySupportedJobfileTypesObsolete.
Top
Methods
 NameDescription
Public methodCreateNewJob Creates a new job with a specific description.
Public methodDryRunAsync Performs a dry run of the job. It will build all job elements and calculates the bounding boxes and execution time.
Public methodExportJob(JobDefinition, Stream, String) Streams a given job in the specified format.
Public methodExportJob(JobDefinition, String, String) Exports a job in the specified format to a given file path.
Public methodGenerateJobExecutorProfile Returns a specific type of job executor profile to be prepared and then used for execution.
Public methodGetOrRegisterVariableScope 
Public methodImportJob(Stream, String) Loads from a given stream of a specific format and creates the corresponding job. Missing items will be reported back in the return value.
Public methodImportJob(String, String) Imports from a given saved file of a specific format and creates the corresponding job. Missing items will be reported back in the return value.
Public methodLoadJob(Stream) Loads from a given stream and creates the corresponding job. Missing items will be reported back in the return value.
Public methodLoadJob(String) Loads a given saved file and creates the corresponding job. Missing items will be reported back in the return value.
Public methodRemoveJobDefinitionFromJobsValidator Removes a JobDefinition from the JobsValidator; called when the user closes a job.
Public methodRenderAsBitmap(JobDefinition, String, Int32) Stores job workspace as bitmap.
Public methodRenderAsBitmap(JobDefinition, String, Int32, Double, Color, NullableColor) Stores job workspace as bitmap.
Public methodRenderAsBitmapDpi Stores job workspace as bitmap.
Public methodRenderAsImage(JobDefinition, Int32) Returns an image of the jobs workspace.
Public methodRenderAsImage(JobDefinition, Int32, Double, Color, NullableColor) Returns an image of the jobs workspace.
Public methodRenderAsImageDpi Stores job workspace as bitmap.
Public methodRunAsync(JobDefinition, BaseJobExecutorProfile, CancellationTokenSource) Runs asynchronously a given job with a given profile. The default scan controller will be the first listed in the job.
Public methodRunAsync(JobDefinition, Type, CancellationTokenSource) Runs asynchronously a given job with a specific type of job executor using its default profile. The default scan controller will be the first listed in the job.
Public methodRunJobElementsAsync(IListBaseJobElement, IListBaseScanController, BaseJobExecutorProfile, CancellationTokenSource) Runs asynchronously a given list of job elements with a given profile.
Public methodRunJobElementsAsync(IListBaseJobElement, IListBaseScanController, Type, CancellationTokenSource) Runs asynchronously a given list of job elements with a specific type of job executor.
Public methodRunJobElementsAsync(IListJobElementHolder, IListBaseScanController, BaseJobExecutorProfile, CancellationTokenSource) Runs asynchronously a given list of job element holders with a given profile.
Public methodRunJobElementsAsync(IListJobElementHolder, IListBaseScanController, Type, CancellationTokenSource) Runs asynchronously a given list of job element holders with a specific type of job executor.
Public methodRunSync(JobDefinition, BaseJobExecutorProfile, CancellationTokenSource) Runs synchronously a given job with a given profile. The default scan controller will be the first listed in the job. If job contains multiple scan controllers, it will be executed sequentially. Use RunAsync(JobDefinition, BaseJobExecutorProfile, CancellationTokenSource) for parallel execution.
Public methodRunSync(JobDefinition, Type, CancellationTokenSource) Runs synchronously a given job with a specific type of job executor using its default profile. The default scan controller will be the first listed in the job. If job contains multiple scan controllers, it will be executed sequentially. Use RunAsync(JobDefinition, Type, CancellationTokenSource) for parallel execution.
Public methodSaveJob(JobDefinition, Stream) Streams a given job.
Public methodSaveJob(JobDefinition, String) Saves a job to a given file path.
Public methodSetWorkspaceProcessTransformation(dmat4, JobDefinition) Sets the process transformation for all scan controller contained in the job. Center of transformation is the origin of the workspace.
Public methodSetWorkspaceProcessTransformation(dmat4, String) Sets the process transformation for all scan controller contained in the workspace configuration. Center of transformation is the origin of the workspace.
Public methodUnregisterVariableScope 
Public methodValidateJobDefinition Validates all job elements of the given JobDefinition.
Top
Events
 NameDescription
Public eventRunJobProgressed 
Top
See Also