SignalSlot

Engine/source/core/util/tSignal.h

Class for handle automatic diconnect form Signal when destroyed.

More...

Public Types

Delegate< Signature >
DelegateSig 
SignalBaseT< Signature >
SignalSig 

Public Friends

Protected Attributes

Public Functions

disconnect from Signal

bool

is connected to Signal

setDelegate disconect form Signal old delegate and connect new delegate

setDelegate(const X & ptr, const Y & fn)

Protected Functions

Detailed Description

Class for handle automatic diconnect form Signal when destroyed.

Public Types

typedef Delegate< Signature > DelegateSig 
typedef SignalBaseT< Signature > SignalSig 

Public Friends

Protected Attributes

DelegateSig mDlg 
SignalSig * mSignal 

Public Functions

SignalSlot()

~SignalSlot()

disconnect()

disconnect from Signal

getDelegate()

isConnected()

is connected to Signal

setDelegate(const DelegateSig & dlg)

setDelegate(const X & fn)

setDelegate disconect form Signal old delegate and connect new delegate

setDelegate(const X & ptr, const Y & fn)

Protected Functions

_getSignal()

_setSignal(SignalSig * sig)