Class TSolver

Unit

Declaration

type TSolver = class(TThread)

Description

Hierarchy

Overview

Fields

Protected DSS: TDSSContext;
Protected FMessage: String;
Protected UINotifier: TEvent;
Protected StatusEvent: TEvent;
Protected MessageQueueEvent: TEvent;
Protected ActorIsActive: Boolean;
Protected Processing: Boolean;
Protected actorMessages: TQueue<TActorMessage>;
Protected actorMessagesLock: TCriticalSection;

Methods

Public constructor Create(dssContext: TDSSContext; Susp: Boolean; local_CPU: Integer; AEvent: TEvent); OVERLOAD;
Public procedure Execute; OVERRIDE;
Public procedure Doterminate; OVERRIDE;
Public destructor Destroy; OVERRIDE;
Protected function Get_CPU(): Integer;
Protected procedure Set_CPU(CPU: Integer);
Public procedure Send_Message(Msg: TActorMessage);

Properties

Public property CPU: Integer READ Get_CPU WRITE Set_CPU;

Description

Fields

Protected DSS: TDSSContext;
 
Protected FMessage: String;
 
Protected UINotifier: TEvent;
 
Protected StatusEvent: TEvent;

ActorID,

Protected MessageQueueEvent: TEvent;

ActorID,

Protected ActorIsActive: Boolean;
 
Protected Processing: Boolean;
 
Protected actorMessages: TQueue<TActorMessage>;
 
Protected actorMessagesLock: TCriticalSection;

A queue for messaging to actors, the aim is to reduce inconsistency

Methods

Public constructor Create(dssContext: TDSSContext; Susp: Boolean; local_CPU: Integer; AEvent: TEvent); OVERLOAD;
 
Public procedure Execute; OVERRIDE;
 
Public procedure Doterminate; OVERRIDE;
 
Public destructor Destroy; OVERRIDE;
 
Protected function Get_CPU(): Integer;
 
Protected procedure Set_CPU(CPU: Integer);
 
Public procedure Send_Message(Msg: TActorMessage);
 

Properties

Public property CPU: Integer READ Get_CPU WRITE Set_CPU;
 

Generated by PasDoc 0.16.0.