Share via


Engine class

Controls the execution, progress reporting and results generation for a job. A job consists of a collection of assessments. A solution uses this interface to access AXE functionality.

When to implement

Never. This is an exposed interface that is already implemented.

Engine has these types of members:

Methods

The Engine class has these methods.

Method Description
~Engine Destructor method.
AnalyzeResults Analyzes the assessment results.
CancelAssessment Requests that the specified assessment stop running.
CancelJob Requests that the current assessment stop running and the job end without running any more assessments.
ExecuteJob Runs a loaded job.
GetEventThreadingModel Retrieve the threading model that is being used to call the solution s native events that have been registered with the Engine.
RemovePendingRebootJob Removes an abandoned task that restarts job execution upon a system restart so that other jobs can be executed.
SetAssessmentBegin Specifies the native interface for the Engine to invoke to notify the solution of an assessment begin event.
SetAssessmentEnd Specifies the native interface for the Engine to invoke to notify the solution of an assessment end event.
SetEventThreadingModel Specifies the threading model that is being used to call the solution s native events that have been registered with the Engine.
SetJobBegin Specifies the native interface for the Engine to invoke to notify the solution of a job begin event.
SetJobEnd Specifies the native interface for the Engine to invoke to notify the solution of a job end event.
SetJobPending Specifies the native interface for the Engine to invoke to notify the solution of a job pending event.
SetJobRestart Specifies the native interface for the Engine to invoke to notify the solution of a job restart event.
SetProgressUpdate Specifies the native interface for the Engine to invoke to notify the solution of a progress update event.
TerminateJob This method ends an entire job without waiting for any assessment to exit.

Remarks

Managed code uses the Engine object.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeHosting.h
DLL
AxeCore.dll

See also

Execution Solution Interfaces