TokenPipe

An interprocess or interthread pipe for sending tokens (one-byte values) over.

Synopsis

Declared in <util/tokenpipe.h>

class TokenPipe;

Member Functions

NameDescription
TokenPipe [constructor]Constructors
~TokenPipe [destructor]Closes any pipe end that has not been moved out.
operator= Assignment operators
Close Close and end of the pipe that hasn't been moved out.
TakeReadEnd Take the read end of this pipe. This can only be called once, as the object will be moved out.
TakeWriteEnd Take the write end of this pipe. This should only be called once, as the object will be moved out.

Static Member Functions

NameDescription
Make Create a new pipe.