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

#include <MyGUI_Delegate.h>

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

Public Types

using Function = std::function<void(Args...)>

Public Member Functions

 DelegateFunction (const DelegateFunction &)=delete
DelegateFunction & operator= (const DelegateFunction &)=delete
 ~DelegateFunction () override=default
void invoke (Args... args)
bool compare (DelegateFunction *_delegate) const
bool compare (IDelegateUnlink *_unlink) const

Friends

class Delegate< Args... >
class MultiDelegate< Args... >
struct detail::DelegateFactory

Detailed Description

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

Definition at line 393 of file MyGUI_Delegate.h.

Member Typedef Documentation

◆ Function

template<typename... Args>
using MyGUI::delegates::DelegateFunction< Args >::Function = std::function<void(Args...)>

Definition at line 396 of file MyGUI_Delegate.h.

Constructor & Destructor Documentation

◆ DelegateFunction()

template<typename... Args>
MyGUI::delegates::DelegateFunction< Args >::DelegateFunction ( const DelegateFunction< Args > & )
delete

◆ ~DelegateFunction()

template<typename... Args>
MyGUI::delegates::DelegateFunction< Args >::~DelegateFunction ( )
overridedefault

Member Function Documentation

◆ compare() [1/2]

template<typename... Args>
bool MyGUI::delegates::DelegateFunction< Args >::compare ( DelegateFunction< Args > * _delegate) const
inline

Definition at line 407 of file MyGUI_Delegate.h.

◆ compare() [2/2]

template<typename... Args>
bool MyGUI::delegates::DelegateFunction< Args >::compare ( IDelegateUnlink * _unlink) const
inline

Definition at line 412 of file MyGUI_Delegate.h.

◆ invoke()

template<typename... Args>
void MyGUI::delegates::DelegateFunction< Args >::invoke ( Args... args)
inline

Definition at line 402 of file MyGUI_Delegate.h.

◆ operator=()

template<typename... Args>
DelegateFunction & MyGUI::delegates::DelegateFunction< Args >::operator= ( const DelegateFunction< Args > & )
delete

◆ Delegate< Args... >

template<typename... Args>
friend class Delegate< Args... >
friend

Definition at line 412 of file MyGUI_Delegate.h.

◆ detail::DelegateFactory

template<typename... Args>
friend struct detail::DelegateFactory
friend

Definition at line 420 of file MyGUI_Delegate.h.

◆ MultiDelegate< Args... >

template<typename... Args>
friend class MultiDelegate< Args... >
friend

Definition at line 412 of file MyGUI_Delegate.h.


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