Flow-IPC 1.0.2
Flow-IPC project: Public API.
Classes | Functions
ipc::session::sync_io Namespace Reference

sync_io-pattern counterparts to async-I/O-pattern object types in parent namespace ipc::session. More...

Classes

class  Client_session_adapter
 sync_io-pattern counterpart to async-I/O-pattern session::Client_session types and all their SHM-aware variations (at least shm::classic::Client_session et al and shm::arena_lend::jemalloc::Client_session et al). More...
 
class  Server_session_adapter
 sync_io-pattern counterpart to async-I/O-pattern session::Server_session types and all their SHM-aware variations (at least shm::classic::Server_session et al and shm::arena_lend::jemalloc::Server_session et al). More...
 
class  Session_server_adapter
 sync_io-pattern counterpart to async-I/O-pattern session::Session_server types and all their SHM-aware variations (at least shm::classic::Session_server and shm::arena_lend::jemalloc::Session_server). More...
 

Functions

template<typename Session >
std::ostream & operator<< (std::ostream &os, const Server_session_adapter< Session > &val)
 Prints string representation of the given Server_session_adapter to the given ostream. More...
 
template<typename Session >
std::ostream & operator<< (std::ostream &os, const Client_session_adapter< Session > &val)
 Prints string representation of the given Client_session_adapter to the given ostream. More...
 
template<typename Session_server >
std::ostream & operator<< (std::ostream &os, const Session_server_adapter< Session_server > &val)
 Prints string representation of the given Session_server_adapter to the given ostream. More...
 

Detailed Description

sync_io-pattern counterparts to async-I/O-pattern object types in parent namespace ipc::session.

In this case they are given as only a small handful of adapter templates. Just check out their doc headers.

Function Documentation

◆ operator<<() [1/3]

template<typename Session >
std::ostream & ipc::session::sync_io::operator<< ( std::ostream &  os,
const Client_session_adapter< Session > &  val 
)

Prints string representation of the given Client_session_adapter to the given ostream.

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

◆ operator<<() [2/3]

template<typename Session >
std::ostream & ipc::session::sync_io::operator<< ( std::ostream &  os,
const Server_session_adapter< Session > &  val 
)

Prints string representation of the given Server_session_adapter to the given ostream.

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

◆ operator<<() [3/3]

template<typename Session_server >
std::ostream & ipc::session::sync_io::operator<< ( std::ostream &  os,
const Session_server_adapter< Session_server > &  val 
)

Prints string representation of the given Session_server_adapter to the given ostream.

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