From def5c50960eea4c112647f88361a3ae7155901a8 Mon Sep 17 00:00:00 2001 From: egor-tensin Date: Tue, 4 Jul 2023 00:48:00 +0000 Subject: =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20egor-tensin/wina?= =?UTF-8?q?pi-common@0c196cbe8b4927c78c02b2c7312fc69a507db845=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classwinapi_1_1SharedMemory.html | 245 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 245 insertions(+) create mode 100644 classwinapi_1_1SharedMemory.html (limited to 'classwinapi_1_1SharedMemory.html') diff --git a/classwinapi_1_1SharedMemory.html b/classwinapi_1_1SharedMemory.html new file mode 100644 index 0000000..e638368 --- /dev/null +++ b/classwinapi_1_1SharedMemory.html @@ -0,0 +1,245 @@ + + + + + + + +winapi_common: winapi::SharedMemory Class Reference + + + + + + + + + +
+
+ + + + + + +
+
winapi_common +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
winapi::SharedMemory Class Reference
+
+
+ +

Named shared memory region. + More...

+ + + + + + +

+Public Member Functions

void * get () const
 
void * ptr () const
 
+ + + + + +

+Static Public Member Functions

static SharedMemory create (const std::string &name, std::size_t nb)
 
static SharedMemory open (const std::string &name)
 
+

Detailed Description

+

Named shared memory region.

+ +

Definition at line 19 of file shmem.hpp.

+

Member Function Documentation

+ +

◆ create()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
SharedMemory winapi::SharedMemory::create (const std::string & name,
std::size_t nb 
)
+
+static
+
+

Creates a shared memory region.

Parameters
+ + + +
nameUTF-8 string.
nbNumber of bytes.
+
+
+ +

Definition at line 40 of file shmem.cpp.

+ +
+
+ +

◆ open()

+ +
+
+ + + + + +
+ + + + + + + + +
SharedMemory winapi::SharedMemory::open (const std::string & name)
+
+static
+
+

Opens a shared memory region.

Parameters
+ + +
nameUTF-8 string.
+
+
+ +

Definition at line 59 of file shmem.cpp.

+ +
+
+ +

◆ get()

+ +
+
+ + + + + +
+ + + + + + + +
void* winapi::SharedMemory::get () const
+
+inline
+
+

Get pointer to the data.

+ +

Definition at line 34 of file shmem.hpp.

+ +
+
+ +

◆ ptr()

+ +
+
+ + + + + +
+ + + + + + + +
void* winapi::SharedMemory::ptr () const
+
+inline
+
+

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

+ +

Definition at line 36 of file shmem.hpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + -- cgit v1.2.3