engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
TScopedCallback< CallbackType > 模板类 参考

Helper object for batching callback requests and firing on destruction of the FScopedCallback object. 更多...

#include <ScopedCallback.h>

Public 成员函数

bool HasRequests () const
 Checks whether this callback has outstanding requests. 更多...
 
void Request ()
 Request a callback.
 
void Unrequest ()
 Unrequest a callback.
 
 ~TScopedCallback ()
 Fires a callback if outstanding requests exist.
 

详细描述

template<class CallbackType>
class TScopedCallback< CallbackType >

Helper object for batching callback requests and firing on destruction of the FScopedCallback object.

CallbackType is a class implementing a static method called FireCallback, which does the work.

成员函数说明

◆ HasRequests()

template<class CallbackType >
bool TScopedCallback< CallbackType >::HasRequests ( ) const
inline

Checks whether this callback has outstanding requests.

返回
true if there are outstanding requests, false otherwise.

该类的文档由以下文件生成: