nw::ut::Signal2 Classtemplate <typename TResult, typename TArg0, typename TArg1, typename TResultCombiner, typename TAllocator, typename TSlot> class Signal2
| Name | Description |
|---|---|
| TResult | Return value type. |
| TResultCombiner | Type of combiner used to return a collection of slot return values. |
| TAllocator | Allocator type. |
| TSlot | Slot type. |
Class for sending a signal to a slot. (There are two arguments.)
| nw::ut::Signal2::Invoker | Function object for slot execution. |
|---|
typedef Definitions| Create/Destroy | ||
|---|---|---|
| S | CreateInvalidateSignal | Generates an invalid signal. |
| S | CreateFixedSizedSignal | Allocates the required memory ahead of time and creates a signal. |
| S | CreateVariableSizeSignal | Creates a signal for allocating memory each time needed. |
Destroy
|
Destroys an object. | |
| Slot | ||
| Connect | Connects to the slot and sets up signal reception. | |
| TryConnect | Connects to the slot and sets up signal reception. | |
| CreateAndConnect | Creates a slot and connects to it. | |
| Disconnect | Disconnects a slot. | |
| DisconnectAndDestroy | Disconnects a slot and destroys it. | |
| Other | ||
| S | GetMemorySizeForInvalidateSignal | Gets the memory size required to run CreateInvalidateSignal(). |
| S | GetMemorySizeForFixedSizedSignal | Gets the memory size required to run CreateFixedSizedSignal(). |
operator()
|
Sends a signal. | |
CONFIDENTIAL