Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
QtServiceSysPrivate Class Reference

#include <qtservice_unix.h>

Inheritance diagram for QtServiceSysPrivate:
QtUnixServerSocket

Public Types

enum  { QTSERVICE_STARTUP = 256 }
 

Public Member Functions

 QtServiceSysPrivate ()
 
 ~QtServiceSysPrivate ()
 
 QtServiceSysPrivate ()
 
void setStatus (DWORD dwState)
 
void setServiceFlags (QtServiceBase::ServiceFlags flags)
 
DWORD serviceFlags (QtServiceBase::ServiceFlags flags) const
 
bool available () const
 
void handleCustomEvent (QEvent *e)
 
- Public Member Functions inherited from QtUnixServerSocket
 QtUnixServerSocket (const QString &path, QObject *parent=0)
 
 QtUnixServerSocket (QObject *parent=0)
 
void setPath (const QString &path)
 
void close ()
 

Static Public Member Functions

static void WINAPI serviceMain (DWORD dwArgc, wchar_t **lpszArgv)
 
static void WINAPI handler (DWORD dwOpcode)
 

Public Attributes

char * ident
 
QtServiceBase::ServiceFlags serviceFlags
 
SERVICE_STATUS status
 
SERVICE_STATUS_HANDLE serviceStatus
 
QStringList serviceArgs
 
QWaitCondition condition
 
QMutex mutex
 
QSemaphore startSemaphore
 
QSemaphore startSemaphore2
 
QtServiceControllerHandlercontrollerHandler
 

Static Public Attributes

static QtServiceSysPrivateinstance
 
static
QCoreApplication::EventFilter 
nextFilter
 

Protected Member Functions

void incomingConnection (qintptr socketDescriptor)
 

Detailed Description

Definition at line 69 of file qtservice_unix.h.

Member Enumeration Documentation

anonymous enum
Enumerator
QTSERVICE_STARTUP 

Definition at line 63 of file qtservice_win.h.

Constructor & Destructor Documentation

QtServiceSysPrivate::QtServiceSysPrivate ( )
QtServiceSysPrivate::~QtServiceSysPrivate ( )
QtServiceSysPrivate::QtServiceSysPrivate ( )

Member Function Documentation

bool QtServiceSysPrivate::available ( ) const
inline
void QtServiceSysPrivate::handleCustomEvent ( QEvent *  e)
static void WINAPI QtServiceSysPrivate::handler ( DWORD  dwOpcode)
static
void QtServiceSysPrivate::incomingConnection ( qintptr  socketDescriptor)
protected
DWORD QtServiceSysPrivate::serviceFlags ( QtServiceBase::ServiceFlags  flags) const
static void WINAPI QtServiceSysPrivate::serviceMain ( DWORD  dwArgc,
wchar_t **  lpszArgv 
)
static
void QtServiceSysPrivate::setServiceFlags ( QtServiceBase::ServiceFlags  flags)
void QtServiceSysPrivate::setStatus ( DWORD  dwState)

Member Data Documentation

QWaitCondition QtServiceSysPrivate::condition

Definition at line 85 of file qtservice_win.h.

QtServiceControllerHandler* QtServiceSysPrivate::controllerHandler

Definition at line 90 of file qtservice_win.h.

char* QtServiceSysPrivate::ident

Definition at line 76 of file qtservice_unix.h.

QtServiceSysPrivate* QtServiceSysPrivate::instance
static

Definition at line 80 of file qtservice_win.h.

QMutex QtServiceSysPrivate::mutex

Definition at line 86 of file qtservice_win.h.

QCoreApplication::EventFilter QtServiceSysPrivate::nextFilter
static

Definition at line 82 of file qtservice_win.h.

QStringList QtServiceSysPrivate::serviceArgs

Definition at line 78 of file qtservice_win.h.

QtServiceBase::ServiceFlags QtServiceSysPrivate::serviceFlags

Definition at line 78 of file qtservice_unix.h.

SERVICE_STATUS_HANDLE QtServiceSysPrivate::serviceStatus

Definition at line 77 of file qtservice_win.h.

QSemaphore QtServiceSysPrivate::startSemaphore

Definition at line 87 of file qtservice_win.h.

QSemaphore QtServiceSysPrivate::startSemaphore2

Definition at line 88 of file qtservice_win.h.

SERVICE_STATUS QtServiceSysPrivate::status

Definition at line 76 of file qtservice_win.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy