Chromium Embedded Framework (CEF)  117.1.0+ga287baf+chromium-117.0.5938.62
CefSharedMemoryRegion Class Referenceabstract

Class that wraps platform-dependent share memory region mapping. More...

#include "include/cef_shared_memory_region.h"

Inheritance diagram for CefSharedMemoryRegion:
CefBaseRefCounted

Public Member Functions

virtual bool IsValid ()=0
 Returns true if the mapping is valid. More...
 
virtual size_t Size ()=0
 Returns the size of the mapping in bytes. More...
 
virtual const void * Memory ()=0
 Returns the pointer to the memory. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Class that wraps platform-dependent share memory region mapping.

Member Function Documentation

◆ IsValid()

virtual bool CefSharedMemoryRegion::IsValid ( )
pure virtual

Returns true if the mapping is valid.

◆ Memory()

virtual const void* CefSharedMemoryRegion::Memory ( )
pure virtual

Returns the pointer to the memory.

Returns nullptr for invalid instances. The returned pointer is only valid for the life span of this object.

◆ Size()

virtual size_t CefSharedMemoryRegion::Size ( )
pure virtual

Returns the size of the mapping in bytes.

Returns 0 for invalid instances.


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