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 TOmniTask

    System.TInterfacedObject
      |
      +-- OtlTaskControl.TOmniTask

All Implemented Interfaces:
  IOmniTask , IOmniTaskExecutor

public class TOmniTask ( System.TInterfacedObject , IOmniTask , IOmniTaskExecutor )

Sealed
  False

Abstract
  False

Persistent
  False

Property Summary
`public OtlSync.IOmniCancellationToken` | `CancellationToken`
`public OtlComm.IOmniCommunicationEndpoint` | `Comm`
`public OtlCommon.IOmniCounter` | `Counter`
`public TObject` | `Implementor`
`public TSynchroObject` | `Lock`
`public string` | `Name`
`public OtlCommon.TOmniValueContainer` | `Param`
`public TOmniSharedTaskInfo` | `SharedInfo`
`public OtlSync.TOmniTransitionEvent` | `TerminateEvent`
`public IInterface` | `ThreadData`
`public int64` | `UniqueID`

Constructor Summary
`Create(executor: TOmniTaskExecutor ; parameters: OtlCommon.TOmniValueContainer ; sharedInfo: TOmniSharedTaskInfo )`

Method Summary
`public Sub` | `ClearTimer(timerID: integer)`
`public Sub` | `Enforced(forceExecution: boolean)`
`public Sub` | `Execute()`
`public Sub` | `Invoke(remoteFunc: OtlTask.TOmniTaskInvokeFunction )`
`public Sub` | `RegisterComm(comm: OtlComm.IOmniCommunicationEndpoint )`
`public Sub` | `RegisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent ; responseHandler: OtlTask.TOmniWaitObjectMethod )`
`public Sub` | `SetException(exceptionObject: pointer)`
`public Sub` | `SetExitStatus(exitCode: integer; exitMessage: string)`
`public Sub` | `SetNUMANode(numaNodeNumber: integer)`
`public Sub` | `SetProcessorGroup(procGroupNumber: integer)`
`public Sub` | `SetTimer(interval_ms: cardinal)`
`public Sub` | `SetTimer(interval_ms: cardinal; timerMessage: OtlCommon.TOmniMessageID )`
`public Sub` | `SetTimer(timerID: integer; interval_ms: cardinal; timerMessage: OtlCommon.TOmniMessageID )`
`public function boolean` | `Stopped()`
`public Sub` | `StopTimer()`
`public function boolean` | `Terminated()`
`public Sub` | `UnregisterComm(comm: OtlComm.IOmniCommunicationEndpoint )`
`public Sub` | `UnregisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent )`

Property Detail

### CancellationToken

    public CancellationToken: OtlSync.IOmniCancellationToken

Type
  IOmniCancellationToken

Class
  False

Access
  read

### Comm

    public Comm: OtlComm.IOmniCommunicationEndpoint

Type
  IOmniCommunicationEndpoint

Class
  False

Access
  read

### Counter

    public Counter: OtlCommon.IOmniCounter

Type
  IOmniCounter

Class
  False

Access
  read

### Implementor

    public Implementor: TObject

Type
  TObject

Class
  False

Access
  read

### Lock

    public Lock: TSynchroObject

Type
  TSynchroObject

Class
  False

Access
  read

### Name

    public Name: string

Type
  string

Class
  False

Access
  read

### Param

    public Param: OtlCommon.TOmniValueContainer

Type
  TOmniValueContainer

Class
  False

Access
  read

### SharedInfo

    public SharedInfo: TOmniSharedTaskInfo

Type
  TOmniSharedTaskInfo

Class
  False

Access
  read

### TerminateEvent

    public TerminateEvent: OtlSync.TOmniTransitionEvent

Type
  TOmniTransitionEvent

Class
  False

Access
  read

### ThreadData

    public ThreadData: IInterface

Type
  IInterface

Class
  False

Access
  read

### UniqueID

    public UniqueID: int64

Type
  int64

Class
  False

Access
  read

Constructor Detail

### Create

    public constructor Create(executor: TOmniTaskExecutor ; parameters: OtlCommon.TOmniValueContainer ; sharedInfo: TOmniSharedTaskInfo )

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

Method Detail

### ClearTimer

    public procedure ClearTimer(timerID: integer)

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Enforced

    public procedure Enforced(forceExecution: boolean)

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Execute

    public procedure Execute()

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Invoke

    public procedure Invoke(remoteFunc: OtlTask.TOmniTaskInvokeFunction )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### RegisterComm

    public procedure RegisterComm(comm: OtlComm.IOmniCommunicationEndpoint )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### RegisterWaitObject

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

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetException

    public procedure SetException(exceptionObject: pointer)

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetExitStatus

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

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

### SetTimer

    public procedure SetTimer(interval_ms: cardinal)

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetTimer

    public procedure SetTimer(interval_ms: cardinal; timerMessage: OtlCommon.TOmniMessageID )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### SetTimer

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

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Stopped

    public function Stopped(): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

### StopTimer

    public procedure StopTimer()

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### Terminated

    public function Terminated(): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

### UnregisterComm

    public procedure UnregisterComm(comm: OtlComm.IOmniCommunicationEndpoint )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

### UnregisterWaitObject

    public procedure UnregisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent )

Final
  False

Reintroduce
  False

Abstract
  False

Override
  False

Virtual
  False

Class
  False

Implementation Link

to Interface IOmniTask

Client
  TOmniTask

Supplier
  IOmniTask

to Interface IOmniTaskExecutor

Client
  TOmniTask

Supplier
  IOmniTaskExecutor

Association Link

to Struct TOmniMREW

Supplier
  TOmniMREW

Directed
  False

Client
  otCleanupLock

Type
  association

to Class TOmniTaskExecutor

Supplier
  TOmniTaskExecutor

Directed
  False

Client
  otExecutor_ref

Type
  association

to Class TOmniValueContainer

Supplier
  TOmniValueContainer

Directed
  False

Client
  otParameters_ref

Type
  association

to Class TOmniSharedTaskInfo

Supplier
  TOmniSharedTaskInfo

Directed
  False

Client
  otSharedInfo_ref

Type
  association

to Interface IOmniCancellationToken

Supplier
  IOmniCancellationToken

Directed
  False

Client
  CancellationToken

Type
  association

to Interface IOmniCommunicationEndpoint

Supplier
  IOmniCommunicationEndpoint

Directed
  False

Client
  Comm

Type
  association

to Interface IOmniCounter

Supplier
  IOmniCounter

Directed
  False

Client
  Counter

Type
  association

to Class TOmniValueContainer

Supplier
  TOmniValueContainer

Directed
  False

Client
  Param

Type
  association

to Class TOmniSharedTaskInfo

Supplier
  TOmniSharedTaskInfo

Directed
  False

Client
  SharedInfo

Type
  association

to Class TOmniTransitionEvent

Supplier
  TOmniTransitionEvent

Directed
  False

Client
  TerminateEvent

Type
  association

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