ACE 8.0.0
Loading...
Searching...
No Matches
Classes | Macros
NT_Service.h File Reference
#include "ace/ACE.h"
#include "ace/OS_Log_Msg_Attributes.h"
#include "ace/Service_Object.h"
#include "ace/Task.h"
#include "ace/OS_NS_errno.h"
#include "ace/NT_Service.inl"

Classes

class  ACE_NT_Service
 Provide the base class which defines the interface for controlling an NT service. More...
 

Macros

#define ACE_NT_SERVICE_START_TIMEOUT   5000
 
#define ACE_NT_SERVICE_DEFINE(SVCNAME, SVCCLASS, SVCDESC)
 
#define ACE_NT_SERVICE_REFERENCE(SVCNAME)
 
#define ACE_NT_SERVICE_ENTRY(SVCDESC, SVCNAME)
 
#define ACE_NT_SERVICE_RUN(SVCNAME, SVCINSTANCE, RET)
 

Detailed Description

Author
Steve Huston shust.nosp@m.on@r.nosp@m.ivera.nosp@m.ce.c.nosp@m.om

Macro Definition Documentation

◆ ACE_NT_SERVICE_DEFINE

#define ACE_NT_SERVICE_DEFINE ( SVCNAME,
SVCCLASS,
SVCDESC )
Value:
_ace_nt_svc_obj_##SVCNAME->handle_control(fdwControl); \
} \
bool delete_svc_obj = false; \
return; \
delete_svc_obj = true; \
} \
_ace_nt_svc_obj_##SVCNAME->inherit_log_msg_attributes (); \
_ace_nt_svc_obj_##SVCNAME->svc_handle( \
} \
return; \
}
#define ACE_TEXT_RegisterServiceCtrlHandler
Definition ace_wchar.h:315
This class inherits the interface of the abstract ACE_Dumpable class and is instantiated with the imp...
Definition Dump_T.h:39
Provide the base class which defines the interface for controlling an NT service.
Definition NT_Service.h:98

◆ ACE_NT_SERVICE_ENTRY

#define ACE_NT_SERVICE_ENTRY ( SVCDESC,
SVCNAME )
Value:
{ const_cast<ACE_TCHAR*> (SVCDESC), \

◆ ACE_NT_SERVICE_REFERENCE

#define ACE_NT_SERVICE_REFERENCE ( SVCNAME)

◆ ACE_NT_SERVICE_RUN

#define ACE_NT_SERVICE_RUN ( SVCNAME,
SVCINSTANCE,
RET )
Value:
{ \
{ 0, 0 } \
}; \
_ace_nt_svc_obj_##SVCNAME->capture_log_msg_attributes (); \
ACE_OS::last_error (0); \
#define ACE_TEXT_StartServiceCtrlDispatcher
Definition ace_wchar.h:330
#define ACE_TEXT_SERVICE_TABLE_ENTRY
Definition ace_wchar.h:279
#define ACE_TEXT(STRING)
Definition ace_wchar.h:97

◆ ACE_NT_SERVICE_START_TIMEOUT

#define ACE_NT_SERVICE_START_TIMEOUT   5000