csp::common::SkipProcess Class Reference

Inheritance diagram for csp::common::SkipProcess:

csp::CSProcess csp::ThreadCSProcess boost::noncopyable List of all members.

Detailed Description

A process that does nothing.

This process is only really useful where you need to supply a process for some reason, but you want to supply an empty process.

Named SkipProcess (rather than simply Skip) to distinguish from SkipGuard.

To use this process, you will need to include <cppcsp/common/basic.h>


Protected Member Functions

void run ()
 You must implement this function to provide the code for your process.


Member Function Documentation

void csp::common::SkipProcess::run (  )  [inline, protected, virtual]

You must implement this function to provide the code for your process.

When the run method finishes, the process will terminate.

You should not let an uncaught exception cause the end of this function. If it derives from std::exception, it will be caught (although this behaviour should not be relied upon) but otherwise undefined behaviour will result.

Implements csp::ThreadCSProcess.


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