Ninja
Public Member Functions | Public Attributes
RealCommandRunner Struct Reference
Inheritance diagram for RealCommandRunner:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void Abort ()
virtual bool CanRunMore ()
virtual vector< Edge * > GetActiveEdges ()
 RealCommandRunner (const BuildConfig &config)
virtual bool StartCommand (Edge *edge)
virtual bool WaitForCommand (Result *result)
 Wait for a command to complete, or return false if interrupted.
virtual ~RealCommandRunner ()

Public Attributes

const BuildConfigconfig_
map< Subprocess *, Edge * > subproc_to_edge_
SubprocessSet subprocs_

Detailed Description

Definition at line 462 of file build.cc.


Constructor & Destructor Documentation

RealCommandRunner::RealCommandRunner ( const BuildConfig config) [inline, explicit]

Definition at line 463 of file build.cc.

virtual RealCommandRunner::~RealCommandRunner ( ) [inline, virtual]

Definition at line 464 of file build.cc.


Member Function Documentation

void RealCommandRunner::Abort ( ) [virtual]

Reimplemented from CommandRunner.

Definition at line 484 of file build.cc.

References SubprocessSet::Clear(), and subprocs_.

bool RealCommandRunner::CanRunMore ( ) [virtual]
vector< Edge * > RealCommandRunner::GetActiveEdges ( ) [virtual]

Reimplemented from CommandRunner.

Definition at line 476 of file build.cc.

References subproc_to_edge_.

bool RealCommandRunner::StartCommand ( Edge edge) [virtual]

Implements CommandRunner.

Definition at line 494 of file build.cc.

References SubprocessSet::Add(), Edge::EvaluateCommand(), subproc_to_edge_, and subprocs_.

bool RealCommandRunner::WaitForCommand ( Result result) [virtual]

Member Data Documentation

Definition at line 471 of file build.cc.

Referenced by CanRunMore().

Definition at line 473 of file build.cc.

Referenced by GetActiveEdges(), StartCommand(), and WaitForCommand().

Definition at line 472 of file build.cc.

Referenced by Abort(), CanRunMore(), StartCommand(), and WaitForCommand().


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