MCRO
C++23 utilities for Unreal Engine.
|
Go to the source code of this file.
Namespaces | |
namespace | Mcro |
namespace | Mcro::Delegates |
namespace | Mcro::Delegates::Detail |
Macros | |
#define | MCRO_DYNAMIC_EVENT_MULTIPLEX(functionName) |
#define | MCRO_DYNAMIC_RETURN(delegate, type) |
Typedefs | |
template<typename Dynamic > | |
using | Mcro::Delegates::TReturnOverride = typename TReturnOverride_Struct<Dynamic>::Type |
template<typename Dynamic , typename Return = TReturnOverride<Dynamic>> | |
using | Mcro::Delegates::TNativeMultiplex = typename TNativeMultiplex_Struct<Dynamic, Return>::Type |
Definition in file EventMultiplex.h.
#define MCRO_DYNAMIC_EVENT_MULTIPLEX | ( | functionName | ) |
Glue together a regular function, a native event delegate and a dynamic multicast delegate, so a given API can serve
functionName | The base name of the function which can be listened to with multiplexing |
Definition at line 28 of file EventMultiplex.h.
#define MCRO_DYNAMIC_RETURN | ( | delegate, | |
type ) |
In case the multiplexed function returns a value instead of just returning void, add this macro below the dynamic multicast delegate declaration
delegate | The name of the dynamic multicast delegate |
type | The return type of the multiplexed function |
Definition at line 42 of file EventMultiplex.h.