.. _program_listing_file_include_input_trashbin_SubProcess.cpp: Program Listing for File SubProcess.cpp ======================================= |exhale_lsh| :ref:`Return to documentation for file ` (``include/input/trashbin/SubProcess.cpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #include "SubProcess.hpp" #include "ipc_shared_memory.hpp" namespace PDJE_IPC { using namespace SUBPROC; bool TXRXListener::RecvIPCSharedMem(const std::string &mem_path, const std::string &dataType, const uint64_t data_count) { try { if (dataType == "EVENT_terminate") { terminate_event.ClientInit(mem_path); return true; } if (dataType == "EVENT_input_loop_run") { input_loop_run_event.ClientInit(mem_path); return true; } return false; } catch (const std::exception &e) { critlog("failed to receive memory. WHY: "); critlog(e.what()); return false; } } std::string TXRXListener::ListDev() { } void TXRXListener::LoopTrig() { } }; // namespace PDJE_IPC