Namespace: OtlCommon
Interface IOmniValueEnumerator
All Known Implementing Classes: - TOmniBlockingCollectionEnumerator
public interface IOmniValueEnumerator
summary- Slightly different from the IEnumerable:
- Returns TOmniValue.
- Must ensure correct operation of multiple simultaneous enumerators.
- TryTake must be implemented to support mutable collections (as TOmniBlockingCollection).
For non-mutable collections TryTake can simply return false if the collection
is empty.
- TryTake must be threadsafe - when used in Parallel.For, data manager will call
it simultaneously from multiple threads at the same time.
Persistent- False
Current
public Current: TOmniValue
Type- TOmniValue
Access- read
GetCurrent
public function GetCurrent(): TOmniValue
Reintroduce- False
Returns- TOmniValue
MoveNext
public function MoveNext(): boolean
Reintroduce- False
Returns- boolean
TryTake
public function TryTake(value: TOmniValue ; timeout_ms: cardinal): boolean
Reintroduce- False
Returns- boolean
to Struct TOmniValue
Supplier- TOmniValue
Directed- False
Client- Current
Type- association