HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HDK_Sample::BackgroundTask Class Reference

BackgroundTask is the object which keeps track of the background process. More...

Public Member Functions

 BackgroundTask ()
 
 ~BackgroundTask ()
 
FILE * open (const char *cmd, char *text=0, int length=0)
 
void close ()
 Close the pipe, blocking until the pipe is complete. More...
 
bool isComplete ()
 Test if the background process is complete. More...
 

Public Attributes

UT_String myCommand
 
UT_WritePipemyPipe
 

Detailed Description

BackgroundTask is the object which keeps track of the background process.

Definition at line 44 of file FS_Background.C.

Constructor & Destructor Documentation

HDK_Sample::BackgroundTask::BackgroundTask ( )
inline
Examples:
FS/FS_Background.C.

Definition at line 46 of file FS_Background.C.

HDK_Sample::BackgroundTask::~BackgroundTask ( )
inline
Examples:
FS/FS_Background.C.

Definition at line 47 of file FS_Background.C.

Member Function Documentation

void HDK_Sample::BackgroundTask::close ( )
inline

Close the pipe, blocking until the pipe is complete.

Examples:
FS/FS_Background.C.

Definition at line 80 of file FS_Background.C.

bool HDK_Sample::BackgroundTask::isComplete ( )
inline

Test if the background process is complete.

Examples:
FS/FS_Background.C.

Definition at line 91 of file FS_Background.C.

FILE* HDK_Sample::BackgroundTask::open ( const char *  cmd,
char *  text = 0,
int  length = 0 
)
inline

Open a pipe to an external application

Parameters
cmdThe command to open
textThe text to write to the pipe
lengthThe length of the text
Examples:
FS/FS_Background.C.

Definition at line 53 of file FS_Background.C.

Member Data Documentation

UT_String HDK_Sample::BackgroundTask::myCommand
Examples:
FS/FS_Background.C.

Definition at line 96 of file FS_Background.C.

UT_WritePipe* HDK_Sample::BackgroundTask::myPipe
Examples:
FS/FS_Background.C.

Definition at line 97 of file FS_Background.C.


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