Remake
Loading...
Searching...
No Matches
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).
 
int job_id
 Job for which the built script called remake and spawned the client (negative for original clients).
 
bool failed
 Whether some targets failed in mode -k.
 
string_list pending
 Targets not yet started.
 
string_set running
 Targets being built.
 
variable_map vars
 Variables set on request.
 
bool delayed
 Whether it is a dependency client and a script has to be started on request completion.
 

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 601 of file remake.cpp.

Constructor & Destructor Documentation

◆ client_t()

client_t::client_t ( )
inline

Definition at line 610 of file remake.cpp.

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

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 609 of file remake.cpp.

Referenced by complete_request().

◆ failed

bool client_t::failed

Whether some targets failed in mode -k.

Definition at line 605 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 604 of file remake.cpp.

Referenced by complete_request().

◆ pending

string_list client_t::pending

Targets not yet started.

Definition at line 606 of file remake.cpp.

◆ running

string_set client_t::running

Targets being built.

Definition at line 607 of file remake.cpp.

◆ socket

socket_t client_t::socket

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

Definition at line 603 of file remake.cpp.

Referenced by complete_request().

◆ vars

variable_map client_t::vars

Variables set on request.

Definition at line 608 of file remake.cpp.


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