| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #include "nlprocexecmonitor.h" |
| 5 | |
| 6 | #include "processevent.h" |
| 7 | #include <utility> |
| 8 | |
| 9 | NLProcExecMonitor::NLProcExecMonitor( |
| 10 | std::shared_ptr<IAppRegistry> appRegistry, |
| 11 | std::unique_ptr<IPIDSolver> &&pidSolver, |
| 12 | std::unique_ptr<IPMonMsgDispatcher> &&msgDispatcher) noexcept |
| 13 | : ProcessMonitor(std::move(appRegistry), std::move(pidSolver), |
| 14 | std::move(msgDispatcher)) |
| 15 | { |
| 16 | } |
| 17 | |
| 18 | ProcessEvent NLProcExecMonitor::waitProcessEvent() |
| 19 | { |
| 20 | return nlSock_.waitForEvent(); |
| 21 | } |