Flow-IPC 1.0.2
Flow-IPC project: Full implementation reference.
Classes | Namespaces | Macros | Functions
msg.hpp File Reference
#include "ipc/transport/transport_fwd.hpp"
#include "ipc/transport/struc/schema/detail/structured_msg.capnp.h"
#include "ipc/transport/struc/error.hpp"
#include "ipc/transport/asio_local_stream_socket_fwd.hpp"
#include "ipc/util/native_handle.hpp"
#include <boost/endian.hpp>
#include <boost/move/make_unique.hpp>

Go to the source code of this file.

Classes

class  ipc::transport::struc::Msg_out< Message_body, Struct_builder_t >
 A structured out-message suitable to be sent via struc::Channel::send() (et al). More...
 
class  ipc::transport::struc::Msg_in< Message_body, Struct_reader_config >
 A structured in-message instance suitable as received and emittable (to user) by struc::Channel. More...
 

Namespaces

namespace  ipc
 Catch-all namespace for the Flow-IPC project: A library/API in modern C++17 providing high-performance communication between processes.
 
namespace  ipc::transport
 Flow-IPC module providing transmission of structured messages and/or low-level blobs (and more) between pairs of processes.
 
namespace  ipc::transport::struc
 Sub-module of Flow-IPC module ipc::transport providing transmission of structured messages specifically.
 

Macros

#define TEMPLATE_STRUCT_MSG_OUT    template<typename Message_body, typename Struct_builder_t>
 Internally used macro; public API users should disregard (same deal as in struc/channel.hpp). More...
 
#define CLASS_STRUCT_MSG_OUT    Msg_out<Message_body, Struct_builder_t>
 Internally used macro; public API users should disregard (same deal as in struc/channel.hpp). More...
 
#define TEMPLATE_STRUCT_MSG_IN    template<typename Message_body, typename Struct_reader_config>
 Internally used macro; public API users should disregard (same deal as in struc/channel.hpp). More...
 
#define CLASS_STRUCT_MSG_IN    Msg_in<Message_body, Struct_reader_config>
 Internally used macro; public API users should disregard (same deal as in struc/channel.hpp). More...
 

Functions

template<typename Message_body , typename Struct_builder_t >
std::ostream & ipc::transport::struc::operator<< (std::ostream &os, const Msg_out< Message_body, Struct_builder_t > &val)
 Prints string representation of the given Msg_out to the given ostream. More...
 
template<typename Message_body , typename Struct_reader_config >
std::ostream & ipc::transport::struc::operator<< (std::ostream &os, const Msg_in< Message_body, Struct_reader_config > &val)
 Prints string representation of the given Msg_in to the given ostream. More...
 

Macro Definition Documentation

◆ CLASS_STRUCT_MSG_IN

#define CLASS_STRUCT_MSG_IN    Msg_in<Message_body, Struct_reader_config>

Internally used macro; public API users should disregard (same deal as in struc/channel.hpp).

Definition at line 861 of file msg.hpp.

◆ CLASS_STRUCT_MSG_OUT

#define CLASS_STRUCT_MSG_OUT    Msg_out<Message_body, Struct_builder_t>

Internally used macro; public API users should disregard (same deal as in struc/channel.hpp).

Definition at line 855 of file msg.hpp.

◆ TEMPLATE_STRUCT_MSG_IN

#define TEMPLATE_STRUCT_MSG_IN    template<typename Message_body, typename Struct_reader_config>

Internally used macro; public API users should disregard (same deal as in struc/channel.hpp).

Definition at line 858 of file msg.hpp.

◆ TEMPLATE_STRUCT_MSG_OUT

#define TEMPLATE_STRUCT_MSG_OUT    template<typename Message_body, typename Struct_builder_t>

Internally used macro; public API users should disregard (same deal as in struc/channel.hpp).

Definition at line 852 of file msg.hpp.