Acoustic Touch Recognition
Public Types | Static Public Attributes | Protected Types | List of all members
redi::pstreams Struct Reference

Common base class providing constants and typenames. More...

#include <pstream.h>

Inheritance diagram for redi::pstreams:

Public Types

typedef std::ios_base::openmode pmode
 Type used to specify how to connect to the process. More...
 
typedef std::vector< std::string > argv_type
 Type used to hold the arguments for a command. More...
 
typedef int fd_type
 Type used for file descriptors. More...
 

Static Public Attributes

static const pmode pstdin = std::ios_base::out
 Write to stdin. More...
 
static const pmode pstdout = std::ios_base::in
 Read from stdout. More...
 
static const pmode pstderr = std::ios_base::app
 Read from stderr. More...
 
static const pmode newpg = std::ios_base::trunc
 Create a new process group for the child process. More...
 

Protected Types

enum  { bufsz = 32 }
 
enum  { pbsz = 2 }
 

Detailed Description

Common base class providing constants and typenames.

Member Typedef Documentation

◆ argv_type

typedef std::vector<std::string> redi::pstreams::argv_type

Type used to hold the arguments for a command.

◆ fd_type

Type used for file descriptors.

◆ pmode

typedef std::ios_base::openmode redi::pstreams::pmode

Type used to specify how to connect to the process.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
bufsz 

◆ anonymous enum

anonymous enum
protected
Enumerator
pbsz 

Member Data Documentation

◆ newpg

const pmode redi::pstreams::newpg = std::ios_base::trunc
static

Create a new process group for the child process.

◆ pstderr

const pmode redi::pstreams::pstderr = std::ios_base::app
static

Read from stderr.

◆ pstdin

const pmode redi::pstreams::pstdin = std::ios_base::out
static

Write to stdin.

◆ pstdout

const pmode redi::pstreams::pstdout = std::ios_base::in
static

Read from stdout.


The documentation for this struct was generated from the following file: