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. | |
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.
|
inline |
Checks whether this callback has outstanding requests.