Skip to content

Commit 4f7cb9c

Browse files
committed
iox-#27 Refactor ProcessManager::searchForProcessAndThen
1 parent 49ed652 commit 4f7cb9c

File tree

2 files changed

+79
-106
lines changed

2 files changed

+79
-106
lines changed

iceoryx_posh/include/iceoryx_posh/internal/roudi/process_manager.hpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ class ProcessManager : public ProcessManagerInterface
145145

146146

147147
private:
148-
bool searchForProcessAndThen(const RuntimeName_t& name,
149-
cxx::function_ref<void(Process&)> AndThenCallable,
150-
cxx::function_ref<void()> OrElseCallable) noexcept;
148+
cxx::optional<Process*> findProcess(const RuntimeName_t& name) noexcept;
151149

152150
void monitorProcesses() noexcept;
153151
void discoveryUpdate() noexcept override;

0 commit comments

Comments
 (0)