remage
Simulation framework for HPGe-based experiments
 
Loading...
Searching...
No Matches
RMGIpc Class Referencefinal

IPC message sender implementation. More...

#include <RMGIpc.hh>

Static Public Member Functions

static void Setup (int ipc_pipe_fd_out, int ipc_pipe_fd_in, int proc_num)
 Set the IPC pipes file descriptors.
 
static std::string CreateMessage (const std::string &command, const std::string &param)
 Create an IPC message with a key and a single value.
 
static bool SendIpcNonBlocking (std::string msg)
 Send a non-blocking IPC message.
 
static bool SendIpcBlocking (std::string msg)
 Send a blocking IPC message.
 

Detailed Description

IPC message sender implementation.

embed:rst:leading-asterisk
*  .. note ::
*      The receiver implementation and message format documentation can be found in
*      :py:mod:`remage.ipc`.
*  

Member Function Documentation

◆ SendIpcBlocking()

bool RMGIpc::SendIpcBlocking ( std::string msg)
static

Send a blocking IPC message.

The message is a UTF-8 encoded buffer that already contains the message structure, such as CreateMessage.

◆ SendIpcNonBlocking()

bool RMGIpc::SendIpcNonBlocking ( std::string msg)
static

Send a non-blocking IPC message.

The message is a UTF-8 encoded buffer that already contains the message structure, such as CreateMessage.


The documentation for this class was generated from the following files: