Chromium Embedded Framework (CEF) 148.0.4+ga59e378+chromium-148.0.7778.40
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.
 
virtual size_t Size ()=0
 Returns the size of the mapping in bytes.
 
virtual void * Memory ()=0
 Returns the pointer to the memory.
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object.
 
virtual bool Release () const =0
 Called to decrement the reference count for the object.
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1.
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1.
 

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 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: