Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

ThreadExec Class Reference

#include <threadexec.h>

List of all members.

Public Member Functions

 ThreadExec ()
virtual ~ThreadExec ()
FILE * get_stdin ()
void run ()
void start_command (char *command_line, int pipe_stdin)
virtual void run_program (int argc, char *argv[], int stdin_fd)

Private Attributes

int filedes [2]
char ** arguments
char path [BCTEXTLEN]
int total_arguments
FILE * stdin_fd
Mutex * start_lock
char * command_line
int pipe_stdin


Detailed Description

Definition at line 18 of file threadexec.h.


Constructor & Destructor Documentation

ThreadExec::ThreadExec  ) 
 

Definition at line 16 of file threadexec.C.

References arguments, command_line, MAX_ARGS, pipe_stdin, start_lock, stdin_fd, and total_arguments.

ThreadExec::~ThreadExec  )  [virtual]
 

Definition at line 28 of file threadexec.C.

References arguments, fclose(), filedes, pipe_stdin, start_lock, stdin_fd, and total_arguments.


Member Function Documentation

FILE * ThreadExec::get_stdin  ) 
 

Definition at line 132 of file threadexec.C.

References stdin_fd.

void ThreadExec::run  ) 
 

Definition at line 62 of file threadexec.C.

References arguments, command_line, filedes, path, pipe_stdin, run_program(), start_lock, stdin_fd, and total_arguments.

void ThreadExec::run_program int  argc,
char *  argv[],
int  stdin_fd
[virtual]
 

Definition at line 139 of file threadexec.C.

Referenced by run().

void ThreadExec::start_command char *  command_line,
int  pipe_stdin
 

Definition at line 49 of file threadexec.C.

References start_lock.


Member Data Documentation

char** ThreadExec::arguments [private]
 

Definition at line 32 of file threadexec.h.

Referenced by run(), ThreadExec(), and ~ThreadExec().

char* ThreadExec::command_line [private]
 

Definition at line 37 of file threadexec.h.

Referenced by run(), and ThreadExec().

int ThreadExec::filedes[2] [private]
 

Definition at line 31 of file threadexec.h.

Referenced by run(), and ~ThreadExec().

char ThreadExec::path[BCTEXTLEN] [private]
 

Definition at line 33 of file threadexec.h.

Referenced by run().

int ThreadExec::pipe_stdin [private]
 

Definition at line 38 of file threadexec.h.

Referenced by run(), ThreadExec(), and ~ThreadExec().

Mutex* ThreadExec::start_lock [private]
 

Definition at line 36 of file threadexec.h.

Referenced by run(), start_command(), ThreadExec(), and ~ThreadExec().

FILE* ThreadExec::stdin_fd [private]
 

Definition at line 35 of file threadexec.h.

Referenced by get_stdin(), run(), ThreadExec(), and ~ThreadExec().

int ThreadExec::total_arguments [private]
 

Definition at line 34 of file threadexec.h.

Referenced by run(), ThreadExec(), and ~ThreadExec().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:26 2006 for Cinelerra-svn by  doxygen 1.4.4