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::SharedMemoryChannel< T > Class Template Reference

Shared memory IPC channel. More...

#include <interprocess_decorator.hpp>

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

Public Member Functions

 SharedMemoryChannel (const std::string &name, size_t buffer_size)
 
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::SharedMemoryChannel< T >

Shared memory IPC channel.

Definition at line 216 of file interprocess_decorator.hpp.

Constructor & Destructor Documentation

◆ SharedMemoryChannel()

template<typename T >
diffeq::core::composable::SharedMemoryChannel< T >::SharedMemoryChannel ( const std::string &  name,
size_t  buffer_size 
)
inlineexplicit

Definition at line 233 of file interprocess_decorator.hpp.

◆ ~SharedMemoryChannel()

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

Definition at line 236 of file interprocess_decorator.hpp.

Member Function Documentation

◆ cleanup()

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

◆ get_status()

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

◆ initialize()

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

◆ is_connected()

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

◆ receive_message()

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

◆ send_message()

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

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