[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LResources' (#lcl)

TCustomLazComponentQueue

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

A queue to stream components, used for multithreading or network.

Declaration

Source position: lresources.pp line 411

type TCustomLazComponentQueue = class(TComponent) end;

protected

  FQueue: TDynamicDataQueue;

  

  function ReadComponentSize(); virtual;

  

public

  constructor Create(); override;

  destructor Destroy; override;

  procedure Clear;

  

  function Write();

  

  function CopyFrom();

  

  function HasComponent; virtual;

  

  function ReadComponent(); virtual;

  

  function ConvertComponentAsString();

  

Converts a component to binary format with a leading size information (using WriteLRSInt64MB).

  property OnFindComponentClass: TFindComponentClassEvent; [rw]

  

Inheritance

TCustomLazComponentQueue

  

A queue to stream components, used for multithreading or network.

|

TComponent

?

TObject

Description

The function ConvertComponentAsString converts a component to binary format with a leading size information (using WriteLRSInt64MB).

When streaming components over network, they will arrive in chunks.

TCustomLazComponentQueue tells you, if a whole component has arrived.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.