libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
#include <SharedMemory.hpp>
Public Member Functions | |
KnRManagedSharedMemory (const HeapID &details) | |
~KnRManagedSharedMemory (void) | |
unsigned long | Capacity (void) const noexcept(true) |
![]() | |
ManagedSharedMemory (const std::string &mgr_name, const HeapID &details, const DWORD protection=PAGE_READWRITE, HANDLE file=INVALID_HANDLE_VALUE) | |
virtual | ~ManagedSharedMemory () |
contents * | Allocate (const unsigned long n, const void *const hint) |
void | Construct (contents *const ptr, const contents &val) |
void | Deallocate (const contents *const p, const unsigned long n) |
![]() | |
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) |
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) |
Additional Inherited Members | |
![]() | |
typedef contents | contents_type |
![]() | |
ManagedSharedMemory (const unsigned long p, const std::string &mgr_name, const HeapID &details, const DWORD protection=PAGE_READWRITE, HANDLE file=INVALID_HANDLE_VALUE) | |
![]() | |
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 unsigned long | GetEndPrivateDataBlock (void) noexcept(true) |
![]() | |
static unsigned long | GetEndPrivateDataBlock (void) noexcept(true) |
![]() | |
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 206 of file SharedMemory.hpp.
|
inline |
Definition at line 738 of file SharedMemory.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::KnRManagedSharedMemory< contents >::Capacity(), and jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::KnRManagedSharedMemory< contents >::KnRManagedSharedMemory().
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::KnRManagedSharedMemory< contents >::KnRManagedSharedMemory().
|
inline |
Definition at line 745 of file SharedMemory.hpp.
|
inlinevirtualnoexcept |
Reimplemented from jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::RawSharedMemory< contents >.
Definition at line 754 of file SharedMemory.hpp.
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::KnRManagedSharedMemory< contents >::KnRManagedSharedMemory().