Sign in Join
FPDoc Onlineexperiment

TLockedMapIterator class

In unit Maps

Implements a map iterator with thread-safe locking in the associated map.

Declaration

pascal
TLockedMapIterator = class(TMapIterator)

Inheritance

  1. TLockedMapIterator
  2. TMapIterator
  3. TBaseMapIterator
  4. TObject

Description

TLockedMapIterator is a TMapIterator descendant which allows iteration of a map in multiple threads. The associated map will be locked prior to adding or removing entries.

Methods

AddToMapprotectedAdds the class instance to the associated Map for the iterator.
RemoveFromMapprotectedRemoves the class instance from the associated Map for the iterator.

Inherited

From TMapIterator (6)

Create DataPtr GetData GetID Locate SetData

From TBaseMapIterator (13)

BOM Current Destroy EOM First InternalCreate InternalLocate Last Next Previous Valid Validate ValidateMap

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.