DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
Loading...
Searching...
No Matches
diffeq::core::composable::NamedPipeChannel< T > Class Template Reference

Named pipe IPC channel. More...

#include <interprocess_decorator.hpp>

Inheritance diagram for diffeq::core::composable::NamedPipeChannel< T >:
Collaboration diagram for diffeq::core::composable::NamedPipeChannel< T >:

Public Member Functions

 NamedPipeChannel (const std::string &name, bool is_server=false)
 
bool initialize () override
 
void cleanup () override
 
bool send_message (const IPCMessage< T > &message) override
 
bool receive_message (IPCMessage< T > &message) override
 
bool is_connected () const override
 
std::string get_status () const override
 

Detailed Description

template<typename T>
class diffeq::core::composable::NamedPipeChannel< T >

Named pipe IPC channel.

Definition at line 375 of file interprocess_decorator.hpp.

Constructor & Destructor Documentation

◆ NamedPipeChannel()

template<typename T >
diffeq::core::composable::NamedPipeChannel< T >::NamedPipeChannel ( const std::string &  name,
bool  is_server = false 
)
inlineexplicit

Definition at line 390 of file interprocess_decorator.hpp.

◆ ~NamedPipeChannel()

template<typename T >
diffeq::core::composable::NamedPipeChannel< T >::~NamedPipeChannel ( )
inline

Definition at line 400 of file interprocess_decorator.hpp.

Member Function Documentation

◆ cleanup()

template<typename T >
void diffeq::core::composable::NamedPipeChannel< T >::cleanup ( )
inlineoverridevirtual

◆ get_status()

template<typename T >
std::string diffeq::core::composable::NamedPipeChannel< T >::get_status ( ) const
inlineoverridevirtual

◆ initialize()

template<typename T >
bool diffeq::core::composable::NamedPipeChannel< T >::initialize ( )
inlineoverridevirtual

◆ is_connected()

template<typename T >
bool diffeq::core::composable::NamedPipeChannel< T >::is_connected ( ) const
inlineoverridevirtual

◆ receive_message()

template<typename T >
bool diffeq::core::composable::NamedPipeChannel< T >::receive_message ( IPCMessage< T > &  message)
inlineoverridevirtual

◆ send_message()

template<typename T >
bool diffeq::core::composable::NamedPipeChannel< T >::send_message ( const IPCMessage< T > &  message)
inlineoverridevirtual

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