dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx_service.h File Reference
#include "dx_parser.h"
#include "dx_power.h"
#include "dx_registry.h"
#include <signal.h>
Include dependency graph for windows/service/dx_service.h:

Classes

struct  dx::service::accept
struct  dx::service::accept::to
class  dx::service::app
 macOS: the service a launchd daemon - its mach service the plist's (dxd_daemon), launchd starting it at a client's first message: it runs until launchd or the console ends it (SIGTERM, SIGINT) More...
class  dx::service::manager
 a service as the control manager sees it: installed, started, stopped and removed from here, its state followed by the promoted below More...
class  dx::service::manager::enumerate
 the machine's services, re-read whenever one of them changes state More...
class  dx::service::manager::promoted
 a value the control manager notifies about, on a thread of its own: the notification is an alertable wait, so the callback runs on that thread and commits what it read. A service marked for deletion ends the watch More...
class  dx::service::manager::status
 the service's current state; a delete pending answer closes the handle More...
class  dx::service::parser
 macOS: the service's command line - launchd installs and starts it (the product's package), so it runs in the console alone More...
struct  dx::service::start_type
struct  dx::service::start_type::from
struct  dx::service::start_type::to
struct  dx::service::state
 the service states, start types and accepted controls by their SDK names - what a status is printed and a command line argument read as More...
struct  dx::service::state::to

Namespaces

namespace  dx
 dynax driver framework interface namespace
namespace  dx::service
 service interface namespace

Typedefs

typedef promoted super

Functions

void initialize(::SC_HANDLE handle)
void notify() override
std::ostream& operator <<(std::ostream &, const ::QUERY_SERVICE_CONFIGA &)
std::ostream& operator <<(std::ostream &, const ::SERVICE_DESCRIPTION &)
std::ostream& operator <<(std::ostream &, const ::SERVICE_STATUS_PROCESS &)
std::ostream& operator <<(std::ostream& os, const ::SERVICE_DESCRIPTIONA& desc)

Typedef Documentation

◆ super

typedef promoted super

Function Documentation

◆ initialize()

void this::initialize(::SC_HANDLE handle)
Here is the caller graph for this function:

◆ notify()

void notify()
overrideprotected
Here is the caller graph for this function:

◆ operator <<() [1/4]

std::ostream& operator <<(std::ostream& os, const ::QUERY_SERVICE_CONFIGA& config)
inline

◆ operator <<() [2/4]

std::ostream& operator <<(std::ostream&, const ::SERVICE_DESCRIPTION&)
inline

◆ operator <<() [3/4]

std::ostream& operator <<(std::ostream& os, const ::SERVICE_STATUS_PROCESS& status)
inline
Here is the call graph for this function:

◆ operator <<() [4/4]

std::ostream& operator <<(std::ostream& os, const ::SERVICE_DESCRIPTIONA& desc)
inline