SignalSlot
Engine/source/core/util/tSignal.h
Class for handle automatic diconnect form Signal when destroyed.
Public Types
Delegate< Signature >
DelegateSig
SignalBaseT< Signature >
SignalSig
Public Friends
class
Protected Attributes
Public Functions
disconnect from Signal
bool
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
_setSignal(SignalSig * sig)
Private Functions
operator=(const SignalSlot & )
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)