Chromium Embedded Framework (CEF)  122.1.5+gf09a9bc+chromium-122.0.6261.29
CefTask Class Referenceabstract

Implement this interface for asynchronous task execution. More...

#include "include/cef_task.h"

Inheritance diagram for CefTask:
CefBaseRefCounted

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 ()
 

Detailed Description

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.

Member Function Documentation

◆ Execute()

virtual void CefTask::Execute ( )
pure virtual

Method that will be executed on the target thread.


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