MyGUI 3.5.3
MyGUI::delegates::Delegate< Args > Class Template Reference

#include <MyGUI_Delegate.h>

Inheritance diagram for MyGUI::delegates::Delegate< Args >:

Public Types

using IDelegate = DelegateFunction<Args...>

Public Member Functions

 Delegate ()=default
 Delegate (Delegate &&) noexcept=default
Delegate & operator= (Delegate &&) noexcept=default
Delegate & operator= (IDelegate *_delegate)
void operator() (Args... args) const
bool empty () const
void clear ()

Additional Inherited Members

Protected Member Functions inherited from MyGUI::delegates::detail::DelegateBase
 DelegateBase ()=default
 DelegateBase (DelegateBase &&_other) noexcept
DelegateBase & operator= (DelegateBase &&_other) noexcept
 ~DelegateBase ()
bool empty () const
void clear ()
DelegateBase & operator= (DelegateFunctionBase *_delegate)
Protected Attributes inherited from MyGUI::delegates::detail::DelegateBase
DelegateFunctionBase * mDelegate {nullptr}

Detailed Description

template<typename... Args>
class MyGUI::delegates::Delegate< Args >

Definition at line 547 of file MyGUI_Delegate.h.

Member Typedef Documentation

◆ IDelegate

template<typename... Args>
using MyGUI::delegates::Delegate< Args >::IDelegate = DelegateFunction<Args...>

Definition at line 550 of file MyGUI_Delegate.h.

Constructor & Destructor Documentation

◆ Delegate() [1/2]

template<typename... Args>
MyGUI::delegates::Delegate< Args >::Delegate ( )
default

◆ Delegate() [2/2]

template<typename... Args>
MyGUI::delegates::Delegate< Args >::Delegate ( Delegate< Args > && )
defaultnoexcept

Member Function Documentation

◆ clear()

template<typename... Args>
void MyGUI::delegates::detail::DelegateBase::clear ( )
inline

Definition at line 125 of file MyGUI_Delegate.h.

◆ empty()

template<typename... Args>
bool MyGUI::delegates::detail::DelegateBase::empty ( ) const
inline

Definition at line 120 of file MyGUI_Delegate.h.

◆ operator()()

template<typename... Args>
void MyGUI::delegates::Delegate< Args >::operator() ( Args... args) const
inline

Definition at line 564 of file MyGUI_Delegate.h.

◆ operator=() [1/2]

template<typename... Args>
Delegate & MyGUI::delegates::Delegate< Args >::operator= ( Delegate< Args > && )
defaultnoexcept

◆ operator=() [2/2]

template<typename... Args>
Delegate & MyGUI::delegates::Delegate< Args >::operator= ( IDelegate< Args > * _delegate)
inline

Definition at line 558 of file MyGUI_Delegate.h.


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