Chromium Embedded Framework (CEF)  114.2.1+gd70a0a8+chromium-114.0.5735.45
CefBaseRefCounted Class Referenceabstract

All ref-counted framework classes must extend this class. More...

#include "include/cef_base.h"

Inheritance diagram for CefBaseRefCounted:
CefAccessibilityHandler CefApp CefAudioHandler CefAuthCallback CefBeforeDownloadCallback CefBinaryValue CefBrowser CefBrowserHost CefBrowserProcessHandler CefCallback CefClient CefCommandHandler CefCommandLine CefCompletionCallback CefContextMenuHandler CefContextMenuParams CefCookieAccessFilter CefCookieManager CefCookieVisitor CefDOMDocument CefDOMNode CefDOMVisitor CefDeleteCookiesCallback CefDevToolsMessageObserver CefDialogHandler CefDictionaryValue CefDisplay CefDisplayHandler CefDownloadHandler CefDownloadImageCallback CefDownloadItem CefDownloadItemCallback CefDragData CefDragHandler CefEndTracingCallback CefExtension CefExtensionHandler CefFileDialogCallback CefFindHandler CefFocusHandler CefFrame CefFrameHandler CefGetExtensionResourceCallback CefImage CefJSDialogCallback CefJSDialogHandler CefKeyboardHandler CefLayout CefLifeSpanHandler CefListValue CefLoadHandler CefMediaAccessCallback CefMediaObserver CefMediaRoute CefMediaRouteCreateCallback CefMediaRouter CefMediaSink CefMediaSinkDeviceInfoCallback CefMediaSource CefMenuButtonPressedLock CefMenuModel CefMenuModelDelegate CefMessageRouterBrowserSide::Callback CefNavigationEntry CefNavigationEntryVisitor CefOverlayController CefPdfPrintCallback CefPermissionHandler CefPermissionPromptCallback CefPostData CefPostDataElement CefPreferenceManager CefPrintDialogCallback CefPrintHandler CefPrintJobCallback CefPrintSettings CefProcessMessage CefReadHandler CefRegistration CefRenderHandler CefRenderProcessHandler CefRequest CefRequestContextHandler CefRequestHandler CefResolveCallback CefResourceBundle CefResourceBundleHandler CefResourceHandler CefResourceReadCallback CefResourceRequestHandler CefResourceSkipCallback CefResponse CefResponseFilter CefRunContextMenuCallback CefRunFileDialogCallback CefRunQuickMenuCallback CefSSLInfo CefSSLStatus CefSchemeHandlerFactory CefSelectClientCertificateCallback CefServer CefServerHandler CefSetCookieCallback CefSharedMemoryRegion CefSharedProcessMessageBuilder CefStreamReader CefStreamWriter CefStringVisitor CefTask CefTaskRunner CefThread CefURLRequest CefURLRequestClient CefV8Accessor CefV8ArrayBufferReleaseCallback CefV8Context CefV8Exception CefV8Handler CefV8Interceptor CefV8StackFrame CefV8StackTrace CefV8Value CefValue CefView CefViewDelegate CefWaitableEvent CefWriteHandler CefX509CertPrincipal CefX509Certificate CefXmlReader CefZipArchive::File CefZipReader

Public Member Functions

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

Protected Member Functions

virtual ~CefBaseRefCounted ()
 

Detailed Description

All ref-counted framework classes must extend this class.

Constructor & Destructor Documentation

◆ ~CefBaseRefCounted()

virtual CefBaseRefCounted::~CefBaseRefCounted ( )
inlineprotectedvirtual

Member Function Documentation

◆ AddRef()

virtual void CefBaseRefCounted::AddRef ( ) const
pure virtual

Called to increment the reference count for the object.

Should be called for every new copy of a pointer to a given object.

◆ HasAtLeastOneRef()

virtual bool CefBaseRefCounted::HasAtLeastOneRef ( ) const
pure virtual

Returns true if the reference count is at least 1.

◆ HasOneRef()

virtual bool CefBaseRefCounted::HasOneRef ( ) const
pure virtual

Returns true if the reference count is 1.

◆ Release()

virtual bool CefBaseRefCounted::Release ( ) const
pure virtual

Called to decrement the reference count for the object.

Returns true if the reference count is 0, in which case the object should self-delete.


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