KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Types | Private Slots | Private Member Functions | Private Attributes | Friends | List of all members
KviKvsProcessAsyncOperation Class Reference

#include <KviKvsProcessManager.h>

+ Inheritance diagram for KviKvsProcessAsyncOperation:

Public Member Functions

 KviKvsProcessAsyncOperation (KviKvsProcessDescriptorData *d)
 
bool start ()
 
 ~KviKvsProcessAsyncOperation ()
 
- Public Member Functions inherited from KviKvsAsyncOperation
 KviKvsAsyncOperation (KviWindow *pWnd)
 
KviWindowwindow ()
 
virtual ~KviKvsAsyncOperation ()
 

Protected Types

enum  CallbackEvent {
  EventStarted, EventTerminated, EventStdout, EventStderr,
  EventPing
}
 

Private Slots

void maxRunTimeExpired ()
 
void ping ()
 
void processExited (int exitCode)
 
void processStarted ()
 
void readStderr ()
 
void readStdout ()
 
void selfDelete ()
 

Private Member Functions

bool trigger (CallbackEvent e, const QString &szData)
 
void triggerSelfDelete ()
 

Private Attributes

bool m_bDeletePending
 
KviKvsProcessDescriptorDatam_pData
 
KviKvsExtendedRunTimeDatam_pExtendedRunTimeData
 
QTimer * m_pPingTimer
 
QProcess * m_pProcess
 
QTimer * m_pRunTimeTimer
 
QString m_szStderrBuffer
 
QString m_szStdoutBuffer
 

Friends

class KviKvsProcessManager
 

Additional Inherited Members

- Protected Attributes inherited from KviKvsAsyncOperation
KviWindowm_pWnd
 

Member Enumeration Documentation

Enumerator
EventStarted 
EventTerminated 
EventStdout 
EventStderr 
EventPing 

Constructor & Destructor Documentation

KviKvsProcessAsyncOperation::KviKvsProcessAsyncOperation ( KviKvsProcessDescriptorData d)
KviKvsProcessAsyncOperation::~KviKvsProcessAsyncOperation ( )

Member Function Documentation

void KviKvsProcessAsyncOperation::maxRunTimeExpired ( )
privateslot

References EventTerminated, trigger(), and triggerSelfDelete().

Referenced by start().

void KviKvsProcessAsyncOperation::ping ( )
privateslot

References EventPing, trigger(), and triggerSelfDelete().

Referenced by start().

void KviKvsProcessAsyncOperation::processExited ( int  exitCode)
privateslot
void KviKvsProcessAsyncOperation::processStarted ( )
privateslot
void KviKvsProcessAsyncOperation::readStderr ( )
privateslot
void KviKvsProcessAsyncOperation::readStdout ( )
privateslot
void KviKvsProcessAsyncOperation::selfDelete ( )
privateslot

Referenced by triggerSelfDelete().

bool KviKvsProcessAsyncOperation::start ( )
bool KviKvsProcessAsyncOperation::trigger ( CallbackEvent  e,
const QString &  szData 
)
private
void KviKvsProcessAsyncOperation::triggerSelfDelete ( )
private

Friends And Related Function Documentation

friend class KviKvsProcessManager
friend

Member Data Documentation

bool KviKvsProcessAsyncOperation::m_bDeletePending
private
KviKvsProcessDescriptorData* KviKvsProcessAsyncOperation::m_pData
private
KviKvsExtendedRunTimeData* KviKvsProcessAsyncOperation::m_pExtendedRunTimeData
private
QTimer* KviKvsProcessAsyncOperation::m_pPingTimer
private
QProcess* KviKvsProcessAsyncOperation::m_pProcess
private
QTimer* KviKvsProcessAsyncOperation::m_pRunTimeTimer
private
QString KviKvsProcessAsyncOperation::m_szStderrBuffer
private

Referenced by processExited(), and readStderr().

QString KviKvsProcessAsyncOperation::m_szStdoutBuffer
private

Referenced by processExited(), and readStdout().


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