cutelyst 5.0.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Cutelyst::systemdNotify Class Reference
Inheritance diagram for Cutelyst::systemdNotify:

Public Member Functions

 systemdNotify (QObject *parent=nullptr)
void sendReady (const QByteArray &data)
void sendStatus (const QByteArray &data)
void sendWatchdog (const QByteArray &data)
bool setWatchdog (bool enable, int usec=0)
int watchdogUSec () const

Static Public Member Functions

static bool is_systemd_notify_available ()
static std::vector< int > listenFds (bool unsetEnvironment=true)
static int sd_watchdog_enabled (bool unset)

Detailed Description

Definition at line 14 of file systemdnotify.h.

Constructor & Destructor Documentation

◆ systemdNotify()

systemdNotify::systemdNotify ( QObject * parent = nullptr)
explicit

Definition at line 42 of file systemdnotify.cpp.

◆ ~systemdNotify()

systemdNotify::~systemdNotify ( )

Definition at line 81 of file systemdnotify.cpp.

Member Function Documentation

◆ is_systemd_notify_available()

bool systemdNotify::is_systemd_notify_available ( )
static

Definition at line 228 of file systemdnotify.cpp.

◆ listenFds()

std::vector< int > systemdNotify::listenFds ( bool unsetEnvironment = true)
static

Definition at line 300 of file systemdnotify.cpp.

◆ sd_watchdog_enabled()

int systemdNotify::sd_watchdog_enabled ( bool unset)
static

Definition at line 200 of file systemdnotify.cpp.

◆ sendReady()

void systemdNotify::sendReady ( const QByteArray & data)

Definition at line 176 of file systemdnotify.cpp.

◆ sendStatus()

void systemdNotify::sendStatus ( const QByteArray & data)

Definition at line 128 of file systemdnotify.cpp.

◆ sendWatchdog()

void systemdNotify::sendWatchdog ( const QByteArray & data)

Definition at line 152 of file systemdnotify.cpp.

◆ setWatchdog()

bool systemdNotify::setWatchdog ( bool enable,
int usec = 0 )

Definition at line 98 of file systemdnotify.cpp.

◆ watchdogUSec()

int systemdNotify::watchdogUSec ( ) const

Definition at line 92 of file systemdnotify.cpp.