Service Class Reference

#include <Service.h>

List of all members.


Detailed Description

Helper class to encapsulate and simplify the process of creating and managing a Windows Service.


Public Types

typedef void(*) pfnAppProc (HANDLE _hActive, HANDLE _hExit, void *_pContext)
 Typedef of the application's main procedure, which is called from this service.

Public Member Functions

virtual int ProcessCommandLine (int _argc, char *_argv[])
 Handles the command line arguments passed to the application.

Static Public Member Functions

static ServiceCreate (string const &_serviceName, string const &_serviceDescription, pfnAppProc _pAppProc, void *_pAppProcContext)
 Creates the service singleton.
static ServiceGet ()
 Obtain a pointer to the service singleton.
static void Destroy ()
 Destroys the service singleton object.

Friends

void WINAPI ServiceMain (DWORD argc, LPTSTR *argv)
void WINAPI ServiceCtrlHandler (DWORD _opcode)


Generated on Sun Jan 21 14:30:23 2007 for xPL SDK by  doxygen 1.5.1-p1