top
|
up
|
prev
|
next
LocalExecutionContext Class
Definition at line
15
of
LocalExecutionContext.hpp
Constructors
LocalExecutionContext
()
Member Functions
BuildClient*
GetClient
()
override
Connection
*
GetConnection
()
override
Member Variables
std::thread
serverThread
std::unique_ptr<
SocketClient
>
socketClient
std::unique_ptr<
SocketServer
>
socketServer
Constructor Details
LocalExecutionContext Constructor
cmajor::build::LocalExecutionContext::LocalExecutionContext()
Definition at line
27
of
LocalExecutionContext.cpp
:
27
:
ExecutionContext
(
)
28
{
29
socketServer
.
reset
(
new
SocketServer
(
GetLog
(
)
,
"local"
,
false
)
)
;
30
serverThread
=
std
::
thread
(
{
RunSocketServer
,
socketServer
.
get
(
)
}
)
;
31
socketServer
->
WaitForRunning
(
)
;
32
socketClient
.
reset
(
new
SocketClient
(
GetLog
(
)
,
"local"
)
)
;
33
socketClient
->
Run
(
)
;
34
}
Declaration at line
18
of
LocalExecutionContext.hpp
Member Function Details
GetClient Member Function
BuildClient* cmajor::build::LocalExecutionContext::GetClient()
override
Definition at line
61
of
LocalExecutionContext.cpp
:
62
{
63
return
socketClient
->
GetClient
(
)
;
64
}
Declaration at line
20
of
LocalExecutionContext.hpp
Base class overridden functions:
cmajor::build::ExecutionContext::GetClient
Calls:
cmajor::build::LocalExecutionContext::GetClient
Called by:
cmajor::build::LocalExecutionContext::GetClient
GetConnection Member Function
Connection
* cmajor::build::LocalExecutionContext::GetConnection()
override
Definition at line
66
of
LocalExecutionContext.cpp
:
67
{
68
return
socketClient
->
GetConnection
(
)
;
69
}
Declaration at line
21
of
LocalExecutionContext.hpp
Base class overridden functions:
cmajor::build::ExecutionContext::GetConnection
Calls:
cmajor::build::LocalExecutionContext::GetConnection
Called by:
cmajor::build::LocalExecutionContext::GetConnection
,
cmajor::build::LocalExecutionContext::destructor
top
|
up
|
prev
|
next