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

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

`#include <signal.h>`

## Public Member Functions
| Signal ()
Slot | connect (const std::function< FuncType > &func)
template<typename InstanceType , typename MemberFuncType >
Slot | connect (InstanceType instance, MemberFuncType func)
template<typename... Args>
void | operator() (Args &&... args)

## Constructor & Destructor Documentation

## ◆ Signal()

template<typename FuncType >

clan::Signal< FuncType >::Signal | ( |  | ) |
| inline

## Member Function Documentation

## ◆ connect() [1/2]

template<typename FuncType >

Slot clan::Signal< FuncType >::connect | ( | const std::function< FuncType > & | func | ) |
| inline

Referenced by clan::Signal< FuncType >::connect(), clan::SlotContainer::connect(), and clan::SlotContainer::connect().

## ◆ connect() [2/2]

template<typename FuncType >
template<typename InstanceType , typename MemberFuncType >

Slot clan::Signal< FuncType >::connect | ( | InstanceType | instance,
|  | MemberFuncType | func )
| inline

References clan::bind_member(), and clan::Signal< FuncType >::connect().

## ◆ operator()()

template<typename FuncType >
template<typename... Args>

void clan::Signal< FuncType >::operator() | ( | Args &&... | args | ) |
| inline

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

- signal.h