FAST.Framework  1.0.0
Public Member Functions | List of all members
FSignal< Args > Class Template Reference

#include <FSignal.h>

Inheritance diagram for FSignal< Args >:
Inheritance graph
Collaboration diagram for FSignal< Args >:
Collaboration graph

Public Member Functions

 FSignal (const FSignal &)=delete
 Delete copy constructor.
 FSignal (FSignal &&)=delete
 Delete copy constructor.
FSignaloperator= (const FSignal &)=delete
 Delete copy operator.
 FSignal ()=default
 Constructor of signal object.
virtual ~FSignal ()
 Destroy signal object.
void Connect (FSlot< Args... > &slot)
void Disconnect (FSlot< Args... > &slot) const
 < Disconnect from slot
void Disconnect ()
 Disconnect from all slots.
void Send (Args... args) const
 < Send value
const type_info & GetType () override
 < Returns the type info over object
FString GetName () const override
 < Returns the name of object
- Public Member Functions inherited from FObject
 FObject ()=default
virtual ~FObject ()=default

Detailed Description

template<typename ... Args>
class FSignal< Args >

Sets the handler for signal. The signal handler can be set so that default handling will occur, signal is ignored, or a user-defined function is called

Member Function Documentation

◆ Connect()

template<typename ... Args>
void FSignal< Args >::Connect ( FSlot< Args... > &  slot)
slotConnect on slot

The documentation for this class was generated from the following files: