Class that builds a CefProcessMessage containing a shared memory region.
More...
#include "include/cef_shared_process_message_builder.h"
|
| virtual bool | IsValid ()=0 |
| | Returns true if the builder is valid.
|
| |
| virtual size_t | Size ()=0 |
| | Returns the size of the shared memory region in bytes.
|
| |
| virtual void * | Memory ()=0 |
| | Returns the pointer to the writable memory.
|
| |
| virtual CefRefPtr< CefProcessMessage > | Build ()=0 |
| | Creates a new CefProcessMessage from the data provided to the builder.
|
| |
| 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.
|
| |
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.
◆ Build()
Creates a new CefProcessMessage from the data provided to the builder.
Returns nullptr for invalid instances. Invalidates the builder instance.
◆ Create()
◆ IsValid()
| virtual bool CefSharedProcessMessageBuilder::IsValid |
( |
| ) |
|
|
pure virtual |
Returns true if the builder is valid.
◆ Memory()
| virtual void * CefSharedProcessMessageBuilder::Memory |
( |
| ) |
|
|
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.
◆ Size()
| virtual size_t CefSharedProcessMessageBuilder::Size |
( |
| ) |
|
|
pure virtual |
Returns the size of the shared memory region in bytes.
Returns 0 for invalid instances.
The documentation for this class was generated from the following file: