libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
#include <SharedMemory.hpp>
Classes | |
struct | private_data_block_type |
Public Types | |
typedef contents | contents_type |
Public Member Functions | |
RawSharedMemory (const HeapID &details, const DWORD protection=PAGE_READWRITE, HANDLE file=INVALID_HANDLE_VALUE) | |
virtual | ~RawSharedMemory (void) |
const std::string & | Name (void) const noexcept(true) |
virtual unsigned long | Capacity (void) const noexcept(true) |
virtual bool | Capacity (const unsigned long sz, const DWORD protection=PAGE_READWRITE, HANDLE file=INVALID_HANDLE_VALUE) |
bool | IsCreator (void) const noexcept(true) |
operator const contents * () const | |
operator contents * () | |
NTUtils::Mutex & | Lock (void) noexcept(true) |
virtual std::ostream & | operator<< (std::ostream &strm) const |
virtual std::istream & | operator>> (std::istream &strm) |
unsigned long | UsageCount (void) const noexcept(true) |
Protected Member Functions | |
RawSharedMemory (const unsigned long p, const HeapID &details, const DWORD protection=PAGE_READWRITE, HANDLE file=INVALID_HANDLE_VALUE) | |
contents * | MapDataPtr (HANDLE file, const DWORD access, const DWORD hi_offset, const DWORD low_offset, const unsigned long size) |
void | UnmapDataPtr (const contents *) |
Static Protected Member Functions | |
static unsigned long | GetEndPrivateDataBlock (void) noexcept(true) |
Protected Attributes | |
const NTUtils::SecuritySettings *const | ss |
NTUtils::Mutex | mutex |
HANDLE | rw_pub_mapping |
HANDLE | ro_pub_mapping |
contents * | rw_raw_data |
contents * | rw_pub_data |
const contents * | ro_pub_data |
Definition at line 50 of file SharedMemory.hpp.
typedef contents jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::contents_type |
Definition at line 52 of file SharedMemory.hpp.
|
inline |
Definition at line 304 of file SharedMemory.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::GetGUID(), jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::rw_raw_data, and jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::HeapID::size.
|
inlinevirtual |
Definition at line 314 of file SharedMemory.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::rw_raw_data.
|
inlineprotected |
Definition at line 393 of file SharedMemory.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::GetGUID(), jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::rw_raw_data, and jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::HeapID::size.
|
inlinevirtual |
Definition at line 328 of file SharedMemory.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::rw_raw_data.
|
inlinevirtualnoexcept |
Reimplemented in jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::CrapManagedSharedMemory< contents >, and jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::KnRManagedSharedMemory< contents >.
Definition at line 324 of file SharedMemory.hpp.
|
inlinestaticprotectednoexcept |
Definition at line 463 of file SharedMemory.hpp.
|
inlinenoexcept |
Definition at line 352 of file SharedMemory.hpp.
|
inlinenoexcept |
Definition at line 366 of file SharedMemory.hpp.
|
inlineprotected |
Definition at line 403 of file SharedMemory.hpp.
|
inlinenoexcept |
Definition at line 320 of file SharedMemory.hpp.
|
inline |
Definition at line 357 of file SharedMemory.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::ro_pub_data.
|
inline |
Definition at line 362 of file SharedMemory.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::rw_pub_data.
|
inlinevirtual |
Definition at line 370 of file SharedMemory.hpp.
|
inlinevirtual |
Definition at line 379 of file SharedMemory.hpp.
|
inlineprotected |
Definition at line 420 of file SharedMemory.hpp.
|
inlinenoexcept |
Definition at line 389 of file SharedMemory.hpp.
|
protected |
Definition at line 89 of file SharedMemory.hpp.
|
protected |
Definition at line 96 of file SharedMemory.hpp.
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::operator const contents *().
|
protected |
Definition at line 91 of file SharedMemory.hpp.
|
protected |
Definition at line 95 of file SharedMemory.hpp.
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::operator contents *().
|
protected |
Definition at line 90 of file SharedMemory.hpp.
|
protected |
Definition at line 92 of file SharedMemory.hpp.
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::Capacity(), jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::RawSharedMemory(), and jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >::~RawSharedMemory().
|
protected |
Definition at line 88 of file SharedMemory.hpp.