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

#include <FSlot.h>

Inheritance diagram for FSlot< Args >:
Inheritance graph
[legend]
Collaboration diagram for FSlot< Args >:
Collaboration graph
[legend]

Public Member Functions

 FSlot (std::function< void(Args...)> function)
 
virtual ~FSlot ()=default
 Constructor of slot object. More...
 
void Call (Args... args) const
 < Execute call
 
void SetSlotFunction (std::function< void(Args...)> function)
 
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
 Constructor.
 
virtual ~FObject ()=default
 Destructor.
 

Detailed Description

template<typename ... Args>
class FSlot< Args >

Represents a slot for the signal object

Constructor & Destructor Documentation

◆ ~FSlot()

template<typename ... Args>
virtual FSlot< Args >::~FSlot ( )
virtualdefault

Constructor of slot object.

Destroy slot object

Member Function Documentation

◆ SetSlotFunction()

template<typename ... Args>
void FSlot< Args >::SetSlotFunction ( std::function< void(Args...)>  function)
inline
Parameters
functionSet slot function

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