Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::LambdaCallable< T > Class Template Reference

#include <isolate.h>

Inheritance diagram for dart::LambdaCallable< T >:
dart::Callable dart::ValueObject

Public Member Functions

 LambdaCallable (T &lambda)
 
void Call ()
 
- Public Member Functions inherited from dart::Callable
 Callable ()
 
virtual ~Callable ()
 
virtual void Call ()=0
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

template<typename T>
class dart::LambdaCallable< T >

Definition at line 117 of file isolate.h.

Constructor & Destructor Documentation

◆ LambdaCallable()

template<typename T >
dart::LambdaCallable< T >::LambdaCallable ( T lambda)
inlineexplicit

Definition at line 119 of file isolate.h.

119: lambda_(lambda) {}

Member Function Documentation

◆ Call()

template<typename T >
void dart::LambdaCallable< T >::Call ( )
inlinevirtual

Implements dart::Callable.

Definition at line 120 of file isolate.h.

120{ lambda_(); }

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