libjmmcg
build_2783
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 * () | |
jmmcg::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 jmmcg::NTUtils::SecuritySettings *const | ss |
jmmcg::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 85 of file SharedMemory.hpp.
typedef contents jmmcg::NTUtils::RawSharedMemory< contents >::contents_type |
Definition at line 87 of file SharedMemory.hpp.
|
inline |
Definition at line 339 of file SharedMemory.hpp.
|
inlinevirtual |
Definition at line 349 of file SharedMemory.hpp.
|
inlineprotected |
Definition at line 428 of file SharedMemory.hpp.
|
inlinevirtual |
Definition at line 363 of file SharedMemory.hpp.
|
inlinevirtualnoexcept |
Reimplemented in jmmcg::NTUtils::KnRManagedSharedMemory< contents >, jmmcg::NTUtils::KnRManagedSharedMemory< NTPerformanceObjects * >, jmmcg::NTUtils::KnRManagedSharedMemory< cpp_performance_objects_type >, jmmcg::NTUtils::KnRManagedSharedMemory< sm_string_type >, jmmcg::NTUtils::KnRManagedSharedMemory< char >, and jmmcg::NTUtils::CrapManagedSharedMemory< contents >.
Definition at line 359 of file SharedMemory.hpp.
|
inlinestaticprotectednoexcept |
Definition at line 498 of file SharedMemory.hpp.
|
inlinenoexcept |
Definition at line 387 of file SharedMemory.hpp.
|
inlinenoexcept |
Definition at line 401 of file SharedMemory.hpp.
|
inlineprotected |
Definition at line 438 of file SharedMemory.hpp.
|
inlinenoexcept |
Definition at line 355 of file SharedMemory.hpp.
|
inline |
Definition at line 392 of file SharedMemory.hpp.
|
inline |
Definition at line 397 of file SharedMemory.hpp.
|
inlinevirtual |
Definition at line 405 of file SharedMemory.hpp.
|
inlinevirtual |
Definition at line 414 of file SharedMemory.hpp.
|
inlineprotected |
Definition at line 455 of file SharedMemory.hpp.
|
inlinenoexcept |
Definition at line 424 of file SharedMemory.hpp.
|
protected |
Definition at line 124 of file SharedMemory.hpp.
|
protected |
Definition at line 131 of file SharedMemory.hpp.
|
protected |
Definition at line 126 of file SharedMemory.hpp.
|
protected |
Definition at line 130 of file SharedMemory.hpp.
|
protected |
Definition at line 125 of file SharedMemory.hpp.
|
protected |
Definition at line 127 of file SharedMemory.hpp.
|
protected |
Definition at line 123 of file SharedMemory.hpp.