MyGUI 3.4.1
Data Structures | Namespaces | Typedefs | Functions
MyGUI_Delegate.h File Reference
#include "MyGUI_Diagnostic.h"
#include "MyGUI_Any.h"
#include <list>
#include <functional>

Go to the source code of this file.

Data Structures

class  MyGUI::delegates::IDelegateUnlink
 
class  MyGUI::delegates::DelegateFunction< Args >
 
class  MyGUI::delegates::Delegate< Args >
 
class  MyGUI::delegates::MultiDelegate< Args >
 

Namespaces

namespace  MyGUI
 
namespace  MyGUI::delegates
 

Typedefs

using MyGUI::delegates::CDelegate0 = Delegate<>
 
template<typename ... Args>
using MyGUI::delegates::CDelegate1 = Delegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CDelegate2 = Delegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CDelegate3 = Delegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CDelegate4 = Delegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CDelegate5 = Delegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CDelegate6 = Delegate< Args... >
 
using MyGUI::delegates::CMultiDelegate0 = MultiDelegate<>
 
template<typename ... Args>
using MyGUI::delegates::CMultiDelegate1 = MultiDelegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CMultiDelegate2 = MultiDelegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CMultiDelegate3 = MultiDelegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CMultiDelegate4 = MultiDelegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CMultiDelegate5 = MultiDelegate< Args... >
 
template<typename ... Args>
using MyGUI::delegates::CMultiDelegate6 = MultiDelegate< Args... >
 

Functions

template<typename ... Args>
delegates::DelegateFunction< Args... > * MyGUI::newDelegate (void(*_func)(Args... args))
 
template<typename T , typename ... Args>
delegates::DelegateFunction< Args... > * MyGUI::newDelegate (T *_object, void(T::*_method)(Args... args))
 
template<typename T , typename ... Args>
delegates::DelegateFunction< Args... > * MyGUI::newDelegate (const T *_object, void(T::*_method)(Args... args) const)
 
template<typename ... Args>
delegates::DelegateFunction< Args... > * MyGUI::newDelegate (const std::function< void(Args...)> &_function, int64_t delegateId)