Flow-IPC 1.0.1
Flow-IPC project: Full implementation reference.
Public Types | Related Functions | List of all members
ipc::transport::Null_peer Class Reference

Dummy type for use as a template param to Channel when either the blobs pipe or handles pipe is disabled; as well as to mark a given peer object as not having a counterpart form: a sync_io object shall have its using Sync_io_obj = Null_peer and coversely for async-I/O guys and their Async_io_objs. More...

#include <channel.hpp>

Public Types

using Sync_io_obj = Null_peer
 You may disregard. More...
 
using Async_io_obj = Null_peer
 You may disregard. More...
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &os, const Null_peer &val)
 Dummy that is never invoked. More...
 

Detailed Description

Dummy type for use as a template param to Channel when either the blobs pipe or handles pipe is disabled; as well as to mark a given peer object as not having a counterpart form: a sync_io object shall have its using Sync_io_obj = Null_peer and coversely for async-I/O guys and their Async_io_objs.

No object of this type is ever touched, at least if Channel is properly used.

Definition at line 999 of file channel.hpp.

Member Typedef Documentation

◆ Async_io_obj

You may disregard.

Definition at line 1005 of file channel.hpp.

◆ Sync_io_obj

You may disregard.

Definition at line 1003 of file channel.hpp.

Friends And Related Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const Null_peer val 
)
related

Dummy that is never invoked.

It must still exist in order for Channel to build successfully with at least 1 Null_peer template arg.

Assertion may trip if this is invoked. Formally behavior is undefined.

Parameters
osStream to which to write.
valObject to serialize.
Returns
os.

Definition at line 28 of file channel.cpp.


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