csp::ParallelHelper Class Reference
[Running Processes]

Inheritance diagram for csp::ParallelHelper:

csp::RunHelper List of all members.

Detailed Description

A helper class returned by the InParallel() function.


Public Member Functions

template<typename T>
ParallelHelperoperator() (T t)
 Adds the given process/helper to the process list and returns *this.
template<typename ITERATOR>
 ParallelHelper (ITERATOR begin, ITERATOR end)
 Constructor, that initialises the process list using the specified iterators.
 ParallelHelper (ThreadCSProcessPtr p)
 Constructor, that initialises the process list with the specified process.
CSProcessPtr process () const
 Gets a CSProcess that will run the contained processes.
ParallelHelperwith (const ParallelHelper &p)
 Adds the given processes in the ParallelHelper to the process list and returns *this.
ParallelHelperwith (ThreadCSProcessPtr p)
 Adds the given process to the process list and returns *this.


Constructor & Destructor Documentation

csp::ParallelHelper::ParallelHelper ( ThreadCSProcessPtr  p  )  [inline, explicit]

Constructor, that initialises the process list with the specified process.

template<typename ITERATOR>
csp::ParallelHelper::ParallelHelper ( ITERATOR  begin,
ITERATOR  end 
) [inline]

Constructor, that initialises the process list using the specified iterators.


Member Function Documentation

ParallelHelper& csp::ParallelHelper::with ( ThreadCSProcessPtr  p  )  [inline]

Adds the given process to the process list and returns *this.

ParallelHelper& csp::ParallelHelper::with ( const ParallelHelper p  )  [inline]

Adds the given processes in the ParallelHelper to the process list and returns *this.

template<typename T>
ParallelHelper& csp::ParallelHelper::operator() ( t  )  [inline]

Adds the given process/helper to the process list and returns *this.

CSProcessPtr csp::ParallelHelper::process (  )  const [virtual]

Gets a CSProcess that will run the contained processes.

Implements csp::RunHelper.


Generated on Mon Aug 20 12:24:29 2007 for C++CSP2 by  doxygen 1.4.7