THandleObject class
Class encapsulating an operating system handle.
Declaration
THandleObject = class abstract(TSynchroObject)Inheritance
- THandleObject
- TSynchroObject
- TObject
Descends from it: TEventObject TMutex TSemaphore
Description
THandleObject is an abstract parent class for synchronization classes
that need to store an operating system handle. It introduces a property
Handle which can be used to store the
operating system handle. The handle is in no way manipulated by
THandleObject, only storage is provided.
Do not create an instance of THandleObject. It is an abstract class.
Recent versions of FPC actually declare the class as abstract.
See also
Properties
Handle | public | Handle for this object. |
LastError | public | Last operating system error. |
Methods
Create | public | TObject Constructor. |
Destroy | public | Free the instance. |
WaitFor | public |
Fields
FHandle | protected | |
FLastError | protected |
Inherited
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.
