Operator Console
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
StderrThread Class Reference

Defines a thread class for capturing stderr. More...

#include <StderrThread.h>

Inheritance diagram for StderrThread:
[legend]

Public Member Functions

 StderrThread (void)
 
 ~StderrThread (void)
 
 StderrThread (void)
 
 ~StderrThread (void)
 
- Public Member Functions inherited from StdoutThread
 StdoutThread (void)
 
virtual ~StdoutThread (void)
 
void Get (CString &dst, bool clear)
 
void Quit ()
 
bool InitThread (int bufLen, UINT threadMsg, DWORD parentID)
 
 StdoutThread (void)
 
virtual ~StdoutThread (void)
 
void Get (CString &dst, bool clear)
 
void Quit ()
 
bool InitThread (int bufLen, UINT threadMsg, DWORD parentID)
 
- Public Member Functions inherited from StdoutRedirect
 StdoutRedirect ()
 
virtual ~StdoutRedirect ()
 
void Close ()
 
int Init (int bufferSize)
 
int Start ()
 
int Stop ()
 
int GetBuffer (char *buffer, int size)
 
 StdoutRedirect ()
 
virtual ~StdoutRedirect ()
 
void Close ()
 
int Init (int bufferSize)
 
int Start ()
 
int Stop ()
 
int GetBuffer (char *buffer, int size)
 

Additional Inherited Members

- Static Public Member Functions inherited from StdoutThread
static UINT __cdecl ThreadProc (void *param)
 
static UINT __cdecl ThreadProc (void *param)
 
- Protected Attributes inherited from StdoutThread
int m_bufLen
 the size of the stdio buffer More...
 
CriticalCString m_str
 this stores the data that was read More...
 
UINT m_msg
 message to send when data has been read More...
 
DWORD m_parentID
 ID of thread to send m_msg to. More...
 
CWinThread * m_thread
 pointer to our thread More...
 
- Protected Attributes inherited from StdoutRedirect
FILE * file
 stdout (subclasses can set this to something else, e.g. stderr) More...
 

Detailed Description

Defines a thread class for capturing stderr.

Constructor & Destructor Documentation

StderrThread::StderrThread ( void  )

References StdoutRedirect::file.

24 {
25  file = stderr;
26 }
FILE * file
stdout (subclasses can set this to something else, e.g. stderr)
Definition: StdoutRedirect.h:42
StderrThread::~StderrThread ( void  )
30 {
31 }
StderrThread::StderrThread ( void  )
StderrThread::~StderrThread ( void  )

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