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 350 of file stx-execpipe.cc.


Constructor & Destructor Documentation

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

Constructor reseting all variables.

Definition at line 388 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 353 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 359 of file stx-execpipe.cc.

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

Pointer to environment list supplied by user.

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

Pipe stage function object.

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

Output stream buffer for function object.

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

Pid of the running child process.

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

Character pointer to program path called.

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

Return status of wait() after child exit.

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

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

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

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

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

Call execp() variants.

Definition at line 373 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 Sun Jul 18 22:23:45 2010 for STX Execution Pipe by  doxygen 1.6.3