MyGUI 3.5.3
MyGUI::delegates::detail::DelegateFactory::Storage< DelegateFunction< Args... >, Callable > Struct Template Referencefinal

#include <MyGUI_Delegate.h>

Inheritance diagram for MyGUI::delegates::detail::DelegateFactory::Storage< DelegateFunction< Args... >, Callable >:

Public Types

using Result = DelegateFunction<Args...>
Public Types inherited from MyGUI::delegates::DelegateFunction< Args... >
using Function

Public Member Functions

 Storage (Callable _function, Any _identity, const void *_object, const IDelegateUnlink *_unlink)
Public Member Functions inherited from MyGUI::delegates::DelegateFunction< Args... >
 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

Static Public Member Functions

static void invoke (Result *_self, Args &&... args)

Data Fields

Callable function

Detailed Description

template<typename Callable, typename... Args>
struct MyGUI::delegates::detail::DelegateFactory::Storage< DelegateFunction< Args... >, Callable >

Definition at line 444 of file MyGUI_Delegate.h.

Member Typedef Documentation

◆ Result

template<typename Callable, typename... Args>
using MyGUI::delegates::detail::DelegateFactory::Storage< DelegateFunction< Args... >, Callable >::Result = DelegateFunction<Args...>

Definition at line 446 of file MyGUI_Delegate.h.

Constructor & Destructor Documentation

◆ Storage()

template<typename Callable, typename... Args>
MyGUI::delegates::detail::DelegateFactory::Storage< DelegateFunction< Args... >, Callable >::Storage ( Callable _function,
Any _identity,
const void * _object,
const IDelegateUnlink * _unlink )
inline

Definition at line 447 of file MyGUI_Delegate.h.

Member Function Documentation

◆ invoke()

template<typename Callable, typename... Args>
void MyGUI::delegates::detail::DelegateFactory::Storage< DelegateFunction< Args... >, Callable >::invoke ( Result * _self,
Args &&... args )
inlinestatic

Definition at line 453 of file MyGUI_Delegate.h.

Field Documentation

◆ function

template<typename Callable, typename... Args>
Callable MyGUI::delegates::detail::DelegateFactory::Storage< DelegateFunction< Args... >, Callable >::function

Definition at line 458 of file MyGUI_Delegate.h.


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