Template Class delegate< return_type(parameter_types…)>¶
Defined in File delegate.hpp
Inheritance Relationships¶
Base Type¶
private legion::core::delegate_base< return_type(parameter_types...)>
(Template Class delegate_base< return_type(parameter_types…)>)
Class Documentation¶
-
template<typename
return_type
, typename ...parameter_types
>
classlegion::core
::
delegate
<return_type(parameter_types...)> : private legion::core::delegate_base<return_type(parameter_types...)>¶ Public Functions
-
delegate
() = default¶
-
inline bool
isNull
() const¶
-
inline bool
operator==
(void *ptr) const¶
-
inline bool
operator!=
(void *ptr) const¶
-
inline
delegate
(std::nullptr_t)¶
-
inline void
clear
()¶
-
template<typename
lambda_type
>
inlinedelegate
(const lambda_type &lambda)¶
-
template<typename
lambda_type
>
inline delegate &operator=
(const lambda_type &instance)¶
-
inline bool
operator==
(const multicast_delegate<return_type(parameter_types...)> &other) const¶
-
inline bool
operator!=
(const multicast_delegate<return_type(parameter_types...)> &other) const¶
-
inline return_type
operator()
(parameter_types... arguments) const¶
-
inline return_type
invoke
(parameter_types... arguments) const¶
Public Static Functions
-
template<class owner_type, return_type(owner_type::*)(parameter_types...) func_type> static inline delegate create (owner_type *instance)
-
template<class owner_type, return_type(owner_type::*)(parameter_types...) const func_type> static inline delegate create (owner_type const *instance)
-
template<return_type(*)(parameter_types...) func_type> static inline delegate create ()
-
template<typename
lambda_type
>
static inline delegatecreate
(const lambda_type &instance)¶
-