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

## Namespace: OtlCommon
Unit globals OtlCommon

public unit globals OtlCommon

Field Summary
`internal System.Integer` | `EXIT_INTERNAL`
`internal System.Shortint` | `EXIT_OK`
`internal System.Integer` | `EXIT_THREADPOOL_CANCELLED`
`internal System.Integer` | `EXIT_THREADPOOL_INTERNAL_ERROR`
`internal System.Integer` | `EXIT_THREADPOOL_QUEUE_TOO_LONG`
`internal System.Integer` | `EXIT_THREADPOOL_STALE_TASK`
`internal IOmniEnvironment` | `GEnvironment`
`internal TOmniAlignedInt64` | `OtlUID`
`internal array [TTypeKind] of integer` | `TOmniValue_DataSize`

Method Summary
`public function IOmniAutoDestroyObject` | `CreateAutoDestroyObject(obj: TObject)`
`public function IOmniCounter` | `CreateCounter(initialValue: integer)`
`public function IOmniInterfaceDictionary` | `CreateInterfaceDictionary()`
`public function IOmniWaitableValue` | `CreateWaitableValue()`
`public function IOmniEnvironment` | `Environment()`
`public function int64` | `NextOid()`
`public Sub` | `SetThreadName(name: string)`
`public function AnsiString` | `StrPasA(Str: PAnsiChar)`
`public function TObject` | `VarToObj(v: Variant)`

Field Detail

### EXIT_INTERNAL

    internal const EXIT_INTERNAL: System.Integer = integer($80000000)

Initial
  integer($80000000)

Const
  True

### EXIT_OK

    internal const EXIT_OK: System.Shortint = 0

Initial
  0

Const
  True

### EXIT_THREADPOOL_CANCELLED

    internal const EXIT_THREADPOOL_CANCELLED: System.Integer = EXIT_INTERNAL + 2

Initial
  EXIT_INTERNAL + 2

Const
  True

### EXIT_THREADPOOL_INTERNAL_ERROR

    internal const EXIT_THREADPOOL_INTERNAL_ERROR: System.Integer = EXIT_INTERNAL + 3

Initial
  EXIT_INTERNAL + 3

Const
  True

### EXIT_THREADPOOL_QUEUE_TOO_LONG

    internal const EXIT_THREADPOOL_QUEUE_TOO_LONG: System.Integer = EXIT_INTERNAL + 0

Initial
  EXIT_INTERNAL + 0

Const
  True

### EXIT_THREADPOOL_STALE_TASK

    internal const EXIT_THREADPOOL_STALE_TASK: System.Integer = EXIT_INTERNAL + 1

Initial
  EXIT_INTERNAL + 1

Const
  True

### GEnvironment

    internal GEnvironment: IOmniEnvironment

Const
  False

Type
  IOmniEnvironment

### OtlUID

    internal OtlUID: TOmniAlignedInt64

Const
  False

Type
  TOmniAlignedInt64

### TOmniValue_DataSize

    internal TOmniValue_DataSize: array [TTypeKind] of integer

Const
  False

Type
  array [TTypeKind] of integer

Method Detail

### CreateAutoDestroyObject

    public function CreateAutoDestroyObject(obj: TObject): IOmniAutoDestroyObject

Returns
  IOmniAutoDestroyObject

### CreateCounter

    public function CreateCounter(initialValue: integer): IOmniCounter

Returns
  IOmniCounter

### CreateInterfaceDictionary

    public function CreateInterfaceDictionary(): IOmniInterfaceDictionary

Returns
  IOmniInterfaceDictionary

### CreateWaitableValue

    public function CreateWaitableValue(): IOmniWaitableValue

Returns
  IOmniWaitableValue

### Environment

    public function Environment(): IOmniEnvironment

Returns
  IOmniEnvironment

### NextOid

    public function NextOid(): int64

Returns
  int64

### SetThreadName

    public procedure SetThreadName(name: string)

### StrPasA

    public function StrPasA(Str: PAnsiChar): AnsiString

Returns
  AnsiString

### VarToObj

    public function VarToObj(v: Variant): TObject

Returns
  TObject

Association Link

to Struct TOmniAlignedInt64

Supplier
  TOmniAlignedInt64

Directed
  False

Client
  OtlUID

Type
  association

to Interface IOmniEnvironment

Supplier
  IOmniEnvironment

Directed
  False

Client
  GEnvironment

Type
  association

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