Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD

## Namespace: OtlTaskControl
Class TOmniTaskExecutor

    OtlTaskControl.TOmniTaskExecutor

public class TOmniTaskExecutor

Sealed
  False

Abstract
  False

Persistent
  False

Property Summary
`public integer` | `ExitCode`
`public string` | `ExitMessage`
`public TObject` | `Implementor`
`public TOmniTaskControlOptions` | `Options`
`public TOTLThreadPriority` | `Priority`
`public Exception` | `TaskException`
`public boolean` | `Terminating`
`public DWORD` | `WakeMask`
`public OtlSync.TOmniTransitionEvent` | `WorkerInitialized`
`public boolean` | `WorkerInitOK`
`public IOmniWorker` | `WorkerIntf`

Constructor Summary
`Create(owner_ref: TOmniTaskControl ; workerIntf: IOmniWorker )`
`Create(owner_ref: TOmniTaskControl ; method: TOmniTaskMethod )`
`Create(owner_ref: TOmniTaskControl ; proc: TOmniTaskProcedure )`
`Create(owner_ref: TOmniTaskControl ; func: OtlTask.TOmniTaskDelegate )`

Method Summary
`public Sub` | `Asy_Execute(task: OtlTask.IOmniTask )`
`public Sub` | `Asy_RegisterComm(comm: OtlComm.IOmniCommunicationEndpoint )`
`public Sub` | `Asy_RegisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent ; responseHandler: OtlTask.TOmniWaitObjectMethod )`
`public Sub` | `Asy_SetExitStatus(exitCode: integer; exitMessage: string)`
`public Sub` | `Asy_SetTimer(timerID: integer; interval_ms: cardinal; timerMessage: OtlCommon.TOmniMessageID )`
`public Sub` | `Asy_UnregisterComm(comm: OtlComm.IOmniCommunicationEndpoint )`
`public Sub` | `Asy_UnregisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent )`
`public Sub` | `Destroy()`
`public Sub` | `EmptyMessageQueues(task: OtlTask.IOmniTask )`
`public Sub` | `SetNUMANode(numaNodeNumber: integer)`
`public Sub` | `SetProcessorGroup(procGroupNumber: integer)`
`public Sub` | `TerminateWhen(handle: OtlSync.TOmniTransitionEvent )`
`public function OtlCommon.IOmniNUMANode` | `VerifyNUMANode(numaNodeNumber: integer)`
`public Sub` | `VerifyProcessorGroup(procGroupNumber: integer)`
`public function boolean` | `WaitForInit()`

Property Detail

### ExitCode

    public ExitCode: integer

Type
  integer

Class
  False

Access
  read

### ExitMessage

    public ExitMessage: string

Type
  string

Class
  False

Access
  read

### Implementor

    public Implementor: TObject

Type
  TObject

Class
  False

Access
  read

### Options

    public Options: TOmniTaskControlOptions

Type
  TOmniTaskControlOptions

Class
  False

Access
  read/write

### Priority

    public Priority: TOTLThreadPriority

Type
  TOTLThreadPriority

Class
  False

Access
  read/write

### TaskException

    public TaskException: Exception

Type
  Exception

Class
  False

Access
  read/write

### Terminating

    public Terminating: boolean

Type
  boolean

Class
  False

Access
  read/write

### WakeMask

    public WakeMask: DWORD

Type
  DWORD

Class
  False

Access
  read/write

### WorkerInitialized

    public WorkerInitialized: OtlSync.TOmniTransitionEvent

Type
  TOmniTransitionEvent

Class
  False

Access
  read

### WorkerInitOK

    public WorkerInitOK: boolean

Type
  boolean

Class
  False

Access
  read

### WorkerIntf

    public WorkerIntf: IOmniWorker

Type
  IOmniWorker

Class
  False

Access
  read

Constructor Detail

### Create

    public constructor Create(owner_ref: TOmniTaskControl ; workerIntf: IOmniWorker )

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

### Create

    public constructor Create(owner_ref: TOmniTaskControl ; method: TOmniTaskMethod )

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

### Create

    public constructor Create(owner_ref: TOmniTaskControl ; proc: TOmniTaskProcedure )

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

### Create

    public constructor Create(owner_ref: TOmniTaskControl ; func: OtlTask.TOmniTaskDelegate )

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

Method Detail

### Asy_Execute

    public procedure Asy_Execute(task: OtlTask.IOmniTask )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Asy_RegisterComm

    public procedure Asy_RegisterComm(comm: OtlComm.IOmniCommunicationEndpoint )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Asy_RegisterWaitObject

    public procedure Asy_RegisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent ; responseHandler: OtlTask.TOmniWaitObjectMethod )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Asy_SetExitStatus

    public procedure Asy_SetExitStatus(exitCode: integer; exitMessage: string)

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Asy_SetTimer

    public procedure Asy_SetTimer(timerID: integer; interval_ms: cardinal; timerMessage: OtlCommon.TOmniMessageID )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Asy_UnregisterComm

    public procedure Asy_UnregisterComm(comm: OtlComm.IOmniCommunicationEndpoint )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Asy_UnregisterWaitObject

    public procedure Asy_UnregisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Destroy

    public procedure Destroy()

Reintroduce
  False

Virtual
  False

Override
  True

Abstract
  False

Final
  False

### EmptyMessageQueues

    public procedure EmptyMessageQueues(task: OtlTask.IOmniTask )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetNUMANode

    public procedure SetNUMANode(numaNodeNumber: integer)

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetProcessorGroup

    public procedure SetProcessorGroup(procGroupNumber: integer)

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### TerminateWhen

    public procedure TerminateWhen(handle: OtlSync.TOmniTransitionEvent )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### VerifyNUMANode

    public function VerifyNUMANode(numaNodeNumber: integer): OtlCommon.IOmniNUMANode

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  IOmniNUMANode

Override
  False

Virtual
  False

Class
  True

### VerifyProcessorGroup

    public procedure VerifyProcessorGroup(procGroupNumber: integer)

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  True

### WaitForInit

    public function WaitForInit(): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

Association Link

to Struct TOmniCS

Supplier
  TOmniCS

Directed
  False

Client
  oteInternalLock

Type
  association

to Struct TOmniCS

Supplier
  TOmniCS

Directed
  False

Client
  oteOptionsLock

Type
  association

to Struct TOmniCS

Supplier
  TOmniCS

Directed
  False

Client
  oteTimerLock

Type
  association

to Class TOmniTransitionEvent

Supplier
  TOmniTransitionEvent

Directed
  False

Client
  oteCommRebuildHandles

Type
  association

to Enum TOmniExecutorType

Supplier
  TOmniExecutorType

Directed
  False

Client
  oteExecutorType

Type
  association

to Struct TOmniAlignedInt32

Supplier
  TOmniAlignedInt32

Directed
  False

Client
  oteExitCode

Type
  association

to Delegate TOmniTaskDelegate

Supplier
  TOmniTaskDelegate

Directed
  False

Client
  oteFunc

Type
  association

to Delegate TOmniTaskMethod

Supplier
  TOmniTaskMethod

Directed
  False

Client
  oteMethod

Type
  association

to Class TOmniTaskControlOptions

Supplier
  TOmniTaskControlOptions

Directed
  False

Client
  oteOptions

Type
  association

to Class TOmniTaskControl

Supplier
  TOmniTaskControl

Directed
  False

Client
  oteOwner_ref

Type
  association

to Enum TOTLThreadPriority

Supplier
  TOTLThreadPriority

Directed
  False

Client
  otePriority

Type
  association

to Delegate TOmniTaskProcedure

Supplier
  TOmniTaskProcedure

Directed
  False

Client
  oteProc

Type
  association

to Class TOmniWaitObjectList

Supplier
  TOmniWaitObjectList

Directed
  False

Client
  oteWaitObjectList

Type
  association

to Class TOmniTransitionEvent

Supplier
  TOmniTransitionEvent

Directed
  False

Client
  oteWorkerInitialized

Type
  association

to Interface IOmniWorker

Supplier
  IOmniWorker

Directed
  False

Client
  oteWorkerIntf

Type
  association

to Class TOmniTaskControlOptions

Supplier
  TOmniTaskControlOptions

Directed
  False

Client
  Options

Type
  association

to Enum TOTLThreadPriority

Supplier
  TOTLThreadPriority

Directed
  False

Client
  Priority

Type
  association

to Class TOmniTransitionEvent

Supplier
  TOmniTransitionEvent

Directed
  False

Client
  WorkerInitialized

Type
  association

to Interface IOmniWorker

Supplier
  IOmniWorker

Directed
  False

Client
  WorkerIntf

Type
  association

Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD