Chromium Embedded Framework (CEF)
130.1.2+g48f3ef6+chromium-130.0.6723.44
|
Class that builds a CefProcessMessage containing a shared memory region. More...
#include "include/cef_shared_process_message_builder.h"
Public Member Functions | |
virtual bool | IsValid ()=0 |
Returns true if the builder is valid. More... | |
virtual size_t | Size ()=0 |
Returns the size of the shared memory region in bytes. More... | |
virtual void * | Memory ()=0 |
Returns the pointer to the writable memory. More... | |
virtual CefRefPtr< CefProcessMessage > | Build ()=0 |
Creates a new CefProcessMessage from the data provided to the builder. 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... | |
Static Public Member Functions | |
static CefRefPtr< CefSharedProcessMessageBuilder > | Create (const CefString &name, size_t byte_size) |
Creates a new CefSharedProcessMessageBuilder with the specified |name| and shared memory region of specified |byte_size|. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CefBaseRefCounted | |
virtual | ~CefBaseRefCounted () |
Class that builds a CefProcessMessage containing a shared memory region.
This class is not thread-safe but may be used exclusively on a different thread from the one which constructed it.
|
pure virtual |
Creates a new CefProcessMessage from the data provided to the builder.
Returns nullptr for invalid instances. Invalidates the builder instance.
|
static |
Creates a new CefSharedProcessMessageBuilder with the specified |name| and shared memory region of specified |byte_size|.
|
pure virtual |
Returns true if the builder is valid.
|
pure virtual |
Returns the pointer to the writable 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 shared memory region in bytes.
Returns 0 for invalid instances.