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

## Namespace: OtlParallel
Class TOmniFuture<T>

    System.TInterfacedObject
      |
      +-- OtlParallel.TOmniFuture<T>

All Implemented Interfaces:
  IOmniFuture<T>

public class TOmniFuture<T> ( System.TInterfacedObject , IOmniFuture<T> )

Generic Parameters
  T

Sealed
  False

Abstract
  False

Persistent
  False

Constructor Summary
`Create(action: TOmniFutureDelegate<T> ; taskConfig: IOmniTaskConfig )`
`CreateEx(action: TOmniFutureDelegateEx<T> ; taskConfig: IOmniTaskConfig )`

Method Summary
`public Sub` | `Cancel()`
`public Sub` | `Destroy()`
`public function Exception` | `DetachException()`
`public function Exception` | `FatalException()`
`public function boolean` | `IsCancelled()`
`public function boolean` | `IsDone()`
`public function boolean` | `TryValue(timeout_ms: cardinal; value: T)`
`public function T` | `Value()`
`public function boolean` | `WaitFor(timeout_ms: cardinal)`

Constructor Detail

### Create

    public constructor Create(action: TOmniFutureDelegate<T> ; taskConfig: IOmniTaskConfig )

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

### CreateEx

    public constructor CreateEx(action: TOmniFutureDelegateEx<T> ; taskConfig: IOmniTaskConfig )

Final
  False

Reintroduce
  False

Virtual
  False

Override
  False

Abstract
  False

Method Detail

### Cancel

    public procedure Cancel()

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

### DetachException

    public function DetachException(): Exception

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  Exception

Override
  False

Virtual
  False

Class
  False

### FatalException

    public function FatalException(): Exception

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  Exception

Override
  False

Virtual
  False

Class
  False

### IsCancelled

    public function IsCancelled(): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

### IsDone

    public function IsDone(): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

### TryValue

    public function TryValue(timeout_ms: cardinal; value: T): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

### Value

    public function Value(): T

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  T

Override
  False

Virtual
  False

Class
  False

### WaitFor

    public function WaitFor(timeout_ms: cardinal): boolean

Final
  False

Reintroduce
  False

Abstract
  False

Returns
  boolean

Override
  False

Virtual
  False

Class
  False

Implementation Link

to Interface IOmniFuture<T>

Client
  TOmniFuture

Supplier
  IOmniFuture

Association Link

to Interface IOmniTaskControl

Supplier
  IOmniTaskControl

Directed
  False

Client
  FTask

Type
  association

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