Remake
Public Member Functions | Public Attributes | List of all members
client_t Struct Reference

Public Member Functions

 client_t ()
 

Public Attributes

socket_t socket
 Socket used to reply to the client (invalid for pseudo clients). More...
 
int job_id
 Job for which the built script called remake and spawned the client (negative for original clients). More...
 
bool failed
 Whether some targets failed in mode -k. More...
 
string_list pending
 Targets not yet started. More...
 
string_set running
 Targets being built. More...
 
variable_map vars
 Variables set on request. More...
 
bool delayed
 Whether it is a dependency client and a script has to be started on request completion. More...
 

Detailed Description

Client waiting for a request to complete.

There are two kinds of clients:

Among pseudo clients, there are two categories:

Definition at line 586 of file remake.cpp.

Constructor & Destructor Documentation

◆ client_t()

client_t::client_t ( )
inline

Definition at line 595 of file remake.cpp.

595 : socket(INVALID_SOCKET), job_id(-1), failed(false), delayed(false) {}
int job_id
Job for which the built script called remake and spawned the client (negative for original clients).
Definition: remake.cpp:589
bool delayed
Whether it is a dependency client and a script has to be started on request completion.
Definition: remake.cpp:594
socket_t socket
Socket used to reply to the client (invalid for pseudo clients).
Definition: remake.cpp:588
bool failed
Whether some targets failed in mode -k.
Definition: remake.cpp:590

Member Data Documentation

◆ delayed

bool client_t::delayed

Whether it is a dependency client and a script has to be started on request completion.

Definition at line 594 of file remake.cpp.

Referenced by complete_request().

◆ failed

bool client_t::failed

Whether some targets failed in mode -k.

Definition at line 590 of file remake.cpp.

◆ job_id

int client_t::job_id

Job for which the built script called remake and spawned the client (negative for original clients).

Definition at line 589 of file remake.cpp.

Referenced by complete_request().

◆ pending

string_list client_t::pending

Targets not yet started.

Definition at line 591 of file remake.cpp.

◆ running

string_set client_t::running

Targets being built.

Definition at line 592 of file remake.cpp.

◆ socket

socket_t client_t::socket

Socket used to reply to the client (invalid for pseudo clients).

Definition at line 588 of file remake.cpp.

Referenced by complete_request().

◆ vars

variable_map client_t::vars

Variables set on request.

Definition at line 593 of file remake.cpp.


The documentation for this struct was generated from the following file: