top | up | prev | next

ExecutionContext Class

Definition at line 18 of ExecutionContext.hpp

Constructors

ExecutionContext()

Member Functions

void ExitServer() virtual
BuildClient* GetClient() virtual
Connection* GetConnection() virtual
Log* GetLog() const

Member Variables

std::unique_ptr<Log> log

Constructor Details

ExecutionContext Constructor

cmajor::build::ExecutionContext::ExecutionContext()

Definition at line 12 of ExecutionContext.cpp :
13 {
14     if (GetBuildOption(BuildOptions::debug))
15     {
16         log = CreateCoutLog();
17     }
18 }


Declaration at line 21 of ExecutionContext.hpp


Member Function Details

ExitServer Member Function

void cmajor::build::ExecutionContext::ExitServer() virtual

Definition at line 25 of ExecutionContext.hpp :
25 {}

Derived class overrides: cmajor::build::ServerExecutionContext::ExitServer


GetClient Member Function

BuildClient* cmajor::build::ExecutionContext::GetClient() virtual

Definition at line 24 of ExecutionContext.hpp :
24 { return nullptr; }

Derived class overrides: cmajor::build::ClientExecutionContext::GetClient , cmajor::build::FiberExecutionContext::GetClient , cmajor::build::LocalExecutionContext::GetClient


GetConnection Member Function

Connection * cmajor::build::ExecutionContext::GetConnection() virtual

Definition at line 26 of ExecutionContext.hpp :
26 { return nullptr; }

Derived class overrides: cmajor::build::ClientExecutionContext::GetConnection , cmajor::build::FiberExecutionContext::GetConnection , cmajor::build::LocalExecutionContext::GetConnection


GetLog Member Function

Log * cmajor::build::ExecutionContext::GetLog() const

Definition at line 23 of ExecutionContext.hpp :
23 { return log.get(); }

Called by: cmajor::build::FiberExecutionContext::destructor


top | up | prev | next