(default)
Class CefBase
in cef.h
- Direct Known Subclasses:
- CefApp, CefBrowser, CefClient, CefCommandLine, CefContentFilter, CefCookieVisitor, CefDOMDocument, CefDOMEvent, CefDOMEventListener, CefDOMNode, CefDOMVisitor, CefDisplayHandler, CefDownloadHandler, CefDragData, CefDragHandler, CefFindHandler, CefFocusHandler, CefFrame, CefJSDialogHandler, CefKeyboardHandler, CefLifeSpanHandler, CefLoadHandler, CefMenuHandler, CefPostData, CefPostDataElement, CefPrintHandler, CefProxyHandler, CefReadHandler, CefRenderHandler, CefRequest, CefRequestHandler, CefResponse, CefSchemeHandler, CefSchemeHandlerCallback, CefSchemeHandlerFactory, CefStorageVisitor, CefStreamReader, CefStreamWriter, CefTask, CefV8Accessor, CefV8Context, CefV8ContextHandler, CefV8Exception, CefV8Handler, CefV8Value, CefWebURLRequest, CefWebURLRequestClient, CefWriteHandler, CefXmlObject, CefXmlReader, CefZipArchive, CefZipArchive::File, CefZipReader
- class CefBase
Interface defining the reference count implementation methods. All framework
classes must extend the CefBase class.
|
Constructor Summary |
protected |
virtual ~CefBase()
|
|
Method Summary |
virtual int |
AddRef()= 0
The AddRef method increments the reference count for the object. |
virtual int |
GetRefCt()= 0
Return the current number of references. |
virtual int |
Release()= 0
The Release method decrements the reference count for the object. |
~CefBase
protected virtual ~CefBase();
AddRef
public virtual int AddRef()= 0;
- The AddRef method increments the reference count for the object. It should
be called for every new copy of a pointer to a given object. The resulting
reference count value is returned and should be used for diagnostic/testing
purposes only.
GetRefCt
public virtual int GetRefCt()= 0;
- Return the current number of references.
Release
public virtual int Release()= 0;
- The Release method decrements the reference count for the object. If the
reference count on the object falls to 0, then the object should free
itself from memory. The resulting reference count value is returned and
should be used for diagnostic/testing purposes only.
Chromium Embedded Framework (CEF) Copyright © 2011 Marshall A. Greenblatt