stx::ExecPipeImpl::Stage Struct Reference

Structure representing each stage in the pipe. More...

List of all members.

Public Member Functions

 Stage ()
 Constructor reseting all variables.

Public Attributes

std::vector< std::string > args
 List of program and arguments copied from simple add_exec() calls.
const char * prog
 Character pointer to program path called.
const std::vector< std::string > * argsp
 Pointer to user list of program and arguments.
const std::vector< std::string > * envp
 Pointer to environment list supplied by user.
PipeFunctionfunc
 Pipe stage function object.
RingBuffer outbuffer
 Output stream buffer for function object.
bool withpath
 Call execp() variants.
pid_t pid
 Pid of the running child process.
int retstatus
 Return status of wait() after child exit.
int stdin_fd
 File descriptor for child stdin. This is dup2()-ed to STDIN.
int stdout_fd
 File descriptor for child stdout. This is dup2()-ed to STDOUT.

Detailed Description

Structure representing each stage in the pipe.

Contains arguments, buffers and output variables.

Definition at line 355 of file stx-execpipe.cc.


Constructor & Destructor Documentation

stx::ExecPipeImpl::Stage::Stage (  )  [inline]

Constructor reseting all variables.

Definition at line 393 of file stx-execpipe.cc.


Member Data Documentation

std::vector<std::string> stx::ExecPipeImpl::Stage::args

List of program and arguments copied from simple add_exec() calls.

Definition at line 358 of file stx-execpipe.cc.

const std::vector<std::string>* stx::ExecPipeImpl::Stage::argsp

Pointer to user list of program and arguments.

Definition at line 364 of file stx-execpipe.cc.

const std::vector<std::string>* stx::ExecPipeImpl::Stage::envp

Pointer to environment list supplied by user.

Definition at line 367 of file stx-execpipe.cc.

Pipe stage function object.

Definition at line 370 of file stx-execpipe.cc.

Output stream buffer for function object.

Definition at line 373 of file stx-execpipe.cc.

Pid of the running child process.

Definition at line 381 of file stx-execpipe.cc.

Character pointer to program path called.

Definition at line 361 of file stx-execpipe.cc.

Return status of wait() after child exit.

Definition at line 384 of file stx-execpipe.cc.

File descriptor for child stdin. This is dup2()-ed to STDIN.

Definition at line 387 of file stx-execpipe.cc.

File descriptor for child stdout. This is dup2()-ed to STDOUT.

Definition at line 390 of file stx-execpipe.cc.

Call execp() variants.

Definition at line 378 of file stx-execpipe.cc.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Generated on Fri Jul 30 17:07:13 2010 for STX Execution Pipe by  doxygen 1.6.3