nw::ut::Signal1 Class

Syntax

template <typename TResult, typename TArg0, typename TResultCombiner, typename TAllocator, typename TSlot>
class Signal1

Template Arguments

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.

Description

Class for sending a signal to a slot. (There is one argument.)

Structures

nw::ut::Signal1::Invoker Function object for slot execution.

typedef Definitions

SelfType
SlotType
ResultType
SlotList
ResultCombinerType
AllocatorType

Member Functions

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.
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