Chromium Embedded Framework (CEF)
115.2.0+g096e3eb+chromium-115.0.5790.13
|
Class that wraps platform-dependent share memory region mapping. More...
#include "include/cef_shared_memory_region.h"
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 () |
Class that wraps platform-dependent share memory region mapping.
|
pure virtual |
Returns true if the mapping is valid.
|
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.
|
pure virtual |
Returns the size of the mapping in bytes.
Returns 0 for invalid instances.