HDK_Sample::BackgroundTask Class Reference

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

List of all members.

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.
bool isComplete ()
 Test if the background process is complete.

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:
cmd The command to open
text The text to write to the pipe
length The length of the text
Examples:
FS/FS_Background.C.

Definition at line 53 of file FS_Background.C.


Member Data Documentation

Examples:
FS/FS_Background.C.

Definition at line 96 of file FS_Background.C.

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:

Generated on Fri May 25 00:10:57 2012 for HDK by  doxygen 1.5.9