nw::ut::Signal7::CreateAndConnect Member Function

Syntax

template <typename TFunction>
SlotType * CreateAndConnect(
     TFunction function,
     AllocatorType * allocator
);

template <typename TFunction>
SlotType * CreateAndConnect(
     TFunction function
);

List of Overloaded Member Functions

CreateAndConnect ( TFunction, AllocatorType * ) Creates a slot and connects to it.
CreateAndConnect ( TFunction ) Creates a slot and connects to it.

Description of CreateAndConnect ( TFunction, AllocatorType * )

Allocates memory within the function.

When the "NW_SIGNAL_MULTI_SLOT_ENABLED" definition for "nw/ut/ut_Config.h" is disabled, the number of slots that can be connected to the signal is one.

When the "NW_SIGNAL_MULTI_SLOT_ENABLED" is disabled, be sure to Disconnect before Connecting. If not Disconnected, it will stop with an assert.

Description of CreateAndConnect ( TFunction )

Allocates memory within the function.

When the "NW_SIGNAL_MULTI_SLOT_ENABLED" definition for "nw/ut/ut_Config.h" is disabled, the number of slots that can be connected to the signal is one.

When the "NW_SIGNAL_MULTI_SLOT_ENABLED" is disabled, be sure to Disconnect before Connecting. If not Disconnected, it will stop with an assert.


CONFIDENTIAL