#include <ProcEventMonitor.hpp>
Classes | |
| class | Impl |
Public Types | |
| using | Handler = std::function<void(const ProcEvent&)> |
Public Member Functions | |
| ProcEventMonitor () | |
| ~ProcEventMonitor () | |
| bool | start (Handler handler) |
| void | stop () |
| bool | running () const noexcept |
Static Public Member Functions | |
| static bool | available () |
Private Attributes | |
| std::unique_ptr< Impl > | impl_ |
| std::atomic_bool | running_ {false} |
Definition at line 36 of file ProcEventMonitor.hpp.
| using bsc::netlink::ProcEventMonitor::Handler = std::function<void(const ProcEvent&)> |
Definition at line 38 of file ProcEventMonitor.hpp.
| bsc::netlink::ProcEventMonitor::ProcEventMonitor | ( | ) |
Definition at line 192 of file ProcEventMonitor.cpp.
References impl_, and ProcEventMonitor().
Referenced by ProcEventMonitor().
|
static |
Definition at line 196 of file ProcEventMonitor.cpp.
|
inlinenoexcept |
| bool bsc::netlink::ProcEventMonitor::start | ( | Handler | handler | ) |
Definition at line 194 of file ProcEventMonitor.cpp.
Referenced by bsc::service::DaemonService::run(), and ~ProcEventMonitor().
| void bsc::netlink::ProcEventMonitor::stop | ( | ) |
|
private |
Definition at line 50 of file ProcEventMonitor.hpp.
Referenced by ProcEventMonitor().
|
private |
Definition at line 51 of file ProcEventMonitor.hpp.
Referenced by running().