Github   Telegram
Loading...
Searching...
No Matches
Public Member Functions | List of all members
os_signals::Processor Class Referencefinal

A manager that allows to subscribe to OS signals, example: SIGUSR1, SIGUSR2. More...

#include <userver/os_signals/processor.hpp>

Public Member Functions

 Processor (engine::TaskProcessor &task_processor)
 
template<class Class >
Subscriber AddListener (Class *obj, std::string_view name, int signum, void(Class::*func)())
 

Detailed Description

A manager that allows to subscribe to OS signals, example: SIGUSR1, SIGUSR2.

Definition at line 17 of file processor.hpp.

Member Function Documentation

◆ AddListener()

template<class Class >
Subscriber os_signals::Processor::AddListener ( Class *  obj,
std::string_view  name,
int  signum,
void(Class::*)()  func 
)
inline

Definition at line 22 of file processor.hpp.


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