A pipe, portable across different OS.
Pipes can be used as intraprocess (inter-threads) or interprocess communication mechanism. Read more on pipes here: http://www.gnu.org/software/libc/manual/html_node/Pipes-and-FIFOs.html
See also the example: MRPT/samples/threadsPipe/
#include <mrpt/synch/CPipe.h>
Static Public Member Functions | |
static void | createPipe (std::auto_ptr< CPipeReadEndPoint > &outReadPipe, std::auto_ptr< CPipeWriteEndPoint > &outWritePipe) |
Creates a new pipe and returns the read & write end-points as newly allocated objects. More... | |
Private Member Functions | |
CPipe () | |
No need to create any object of this class. More... | |
~CPipe () | |
|
private |
No need to create any object of this class.
|
private |
|
static |
Creates a new pipe and returns the read & write end-points as newly allocated objects.
std::exception | On any error during the pipe creation |
Page generated by Doxygen 1.8.11 for MRPT 1.4.0 SVN:Unversioned directory at Sun Jul 10 11:38:36 UTC 2016 |