csp::SequentialHelper Class Reference
[Running Processes]

Inheritance diagram for csp::SequentialHelper:

csp::RunHelper List of all members.

Detailed Description

A helper class returned by the InSequence() function.


Public Member Functions

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


Constructor & Destructor Documentation

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

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

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

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


Member Function Documentation

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

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

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

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

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

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

CSProcessPtr csp::SequentialHelper::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