clan::SlotImplT< FuncType > Class Template Reference - ClanLib SDK
Description: clan::SlotImplT< FuncType > Class Template Reference

Public Member Functions | Public Attributes | List of all members
clan::SlotImplT< FuncType > Class Template Reference
clanCore Signals

`#include <signal.h>`

Inheritance diagram for clan::SlotImplT< FuncType >:

## Public Member Functions
| SlotImplT (const std::weak_ptr< SignalImpl< SlotImplT > > &signal, const std::function< FuncType > &callback)
| ~SlotImplT () override
Public Member Functions inherited from clan::SlotImpl
| SlotImpl ()
| SlotImpl (const SlotImpl &)=delete
virtual | ~SlotImpl ()
SlotImpl & | operator= (const SlotImpl &)=delete

## Public Attributes
std::function< FuncType > | callback
std::weak_ptr< SignalImpl< SlotImplT > > | signal

## Constructor & Destructor Documentation

## ◆ SlotImplT()

template<typename FuncType>

clan::SlotImplT< FuncType >::SlotImplT | ( | const std::weak_ptr< SignalImpl< SlotImplT< FuncType > > > & | signal,
|  | const std::function< FuncType > & | callback )
| inline

References callback, and signal.

## ◆ ~SlotImplT()

template<typename FuncType>

clan::SlotImplT< FuncType >::~SlotImplT | ( |  | ) |
| inlineoverride

References signal.

## Member Data Documentation

## ◆ callback

template<typename FuncType>

std::function<FuncType> clan::SlotImplT< FuncType >::callback

Referenced by SlotImplT().

## ◆ signal

template<typename FuncType>

std::weak_ptr<SignalImpl<SlotImplT> > clan::SlotImplT< FuncType >::signal

Referenced by SlotImplT(), and ~SlotImplT().

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

- signal.h