libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::shared_data Struct Reference

#include <shared_mem_struct.hpp>

Public Attributes

std::atomic< boolexit_child {false}
 Used to signal that the sub-process should exit. More...
 
std::atomic< boolsubproc_started {false}
 Used to indicate that the sub-process has started and is ready to communicate. More...
 
std::atomic< boolchanged {false}
 Used to signal that the data, below has been changed in some arbitrary manner. More...
 
bool ping {false}
 
bool pong {false}
 
std::array< std::uint64_t, 1024 > data
 

Detailed Description

Definition at line 29 of file shared_mem_struct.hpp.

Member Data Documentation

◆ changed

std::atomic<bool> jmmcg::LIBJMMCG_VER_NAMESPACE::shared_data::changed {false}

Used to signal that the data, below has been changed in some arbitrary manner.

Definition at line 32 of file shared_mem_struct.hpp.

◆ data

std::array<std::uint64_t, 1024> jmmcg::LIBJMMCG_VER_NAMESPACE::shared_data::data

Definition at line 35 of file shared_mem_struct.hpp.

◆ exit_child

std::atomic<bool> jmmcg::LIBJMMCG_VER_NAMESPACE::shared_data::exit_child {false}

Used to signal that the sub-process should exit.

Definition at line 30 of file shared_mem_struct.hpp.

◆ ping

bool jmmcg::LIBJMMCG_VER_NAMESPACE::shared_data::ping {false}

Definition at line 33 of file shared_mem_struct.hpp.

◆ pong

bool jmmcg::LIBJMMCG_VER_NAMESPACE::shared_data::pong {false}

Definition at line 34 of file shared_mem_struct.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ subproc_started

std::atomic<bool> jmmcg::LIBJMMCG_VER_NAMESPACE::shared_data::subproc_started {false}

Used to indicate that the sub-process has started and is ready to communicate.

Definition at line 31 of file shared_mem_struct.hpp.


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