Chromium Embedded Framework (CEF)
109.0.1+gcd5e37a+chromium-109.0.5414.8
|
Implement this interface for asynchronous task execution. More...
#include "include/cef_task.h"
Public Member Functions | |
virtual void | Execute ()=0 |
Method that will be executed on the target thread. 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from CefBaseRefCounted | |
virtual | ~CefBaseRefCounted () |
Implement this interface for asynchronous task execution.
If the task is posted successfully and if the associated message loop is still running then the Execute() method will be called on the target thread. If the task fails to post then the task object may be destroyed on the source thread instead of the target thread. For this reason be cautious when performing work in the task object destructor.
|
pure virtual |
Method that will be executed on the target thread.