Class TSolver
Unit
Declaration
type TSolver = class(TThread)
Description
Hierarchy
- TObject
- TThread
- TSolver
Overview
Fields
DSS: TDSSContext; |
|
FMessage: String; |
|
UINotifier: TEvent; |
|
StatusEvent: TEvent; |
|
MessageQueueEvent: TEvent; |
|
ActorIsActive: Boolean; |
|
Processing: Boolean; |
|
actorMessages: TQueue<TActorMessage>; |
|
actorMessagesLock: TCriticalSection; |
Methods
constructor Create(dssContext: TDSSContext; Susp: Boolean; local_CPU: Integer; AEvent: TEvent); OVERLOAD; |
|
procedure Execute; OVERRIDE; |
|
procedure Doterminate; OVERRIDE; |
|
destructor Destroy; OVERRIDE; |
|
function Get_CPU(): Integer; |
|
procedure Set_CPU(CPU: Integer); |
|
procedure Send_Message(Msg: TActorMessage); |
Properties
property CPU: Integer READ Get_CPU WRITE Set_CPU; |
Description
Fields
DSS: TDSSContext; |
|
FMessage: String; |
|
UINotifier: TEvent; |
|
StatusEvent: TEvent; |
|
ActorID, |
MessageQueueEvent: TEvent; |
|
ActorID, |
ActorIsActive: Boolean; |
|
Processing: Boolean; |
|
actorMessages: TQueue<TActorMessage>; |
|
actorMessagesLock: TCriticalSection; |
|
A queue for messaging to actors, the aim is to reduce inconsistency |
Methods
constructor Create(dssContext: TDSSContext; Susp: Boolean; local_CPU: Integer; AEvent: TEvent); OVERLOAD; |
|
procedure Execute; OVERRIDE; |
|
procedure Doterminate; OVERRIDE; |
|
destructor Destroy; OVERRIDE; |
|
function Get_CPU(): Integer; |
|
procedure Set_CPU(CPU: Integer); |
|
procedure Send_Message(Msg: TActorMessage); |
|
Properties
property CPU: Integer READ Get_CPU WRITE Set_CPU; |
|
Generated by PasDoc 0.16.0.