Delegate for an RMI request. More...
Public Member Functions | |
constexpr | rmi_delegate (void) noexcept |
Constructs an invalid rmi_delegate. | |
template<typename Handle , typename MemFun > | |
rmi_delegate (const type_id request_id, Handle const &h, MemFun const &pmf) noexcept | |
Constructs a new rmi_delegate based on the request type, the object handle and the member function pointer. | |
Friends | |
constexpr bool | operator== (rmi_delegate const &x, rmi_delegate const &y) noexcept |
constexpr bool | operator!= (rmi_delegate const &x, rmi_delegate const &y) noexcept |
Delegate for an RMI request.
It describes the request by keeping the type id of the request and a handle to the object it was invoked on.
Unlike ordinary delegates, the user cannot use this to call the function. It is only a means for comparing requests.
It is used when combining requests so that two unrelated requests are not accidentally combined.