Debian Codegraph @

src/helper/pmon/nlprocexecsocket.h

raw symbols SCIP
1 // SPDX-License-Identifier: GPL-3.0-or-later
2 // Copyright 2019 Juan Palacios <[email protected]>
3
4 #pragma once
5
6 #include <stdexcept>
7
8 struct ProcessEvent;
9
10 class NLProcExecSocket final
11 {
12 public:
13 class BindError : public std::runtime_error
14 {
15 public:
16 using std::runtime_error::runtime_error;
17 };
18
19 NLProcExecSocket();
20 ~NLProcExecSocket();
21
22 ProcessEvent waitForEvent() const;
23
24 private:
25 struct FDHandle
26 {
27 int fd{-1};
28 ~FDHandle();
29 } sockFd_;
30 };