Inner type for ConnectionHandler. More...
#include <ConnectionHandler.hxx>
Public Member Functions | |
tCallback (tConnectionId id, Slot *slot, tCallbackType cb) | |
Public Attributes | |
tConnectionId | mConnection |
Slot * | mSlot |
tCallbackType | mCallback |
Inner type for ConnectionHandler.
This struct wraps a callback ( which is, albeit quite obfuscated, a good old function pointer ) attaching relevant information to it: the connection GUID that identifies the relationship between the Signal and a Slot, a reference to the Slot object, and the callback itself. This struct allows to compactly store the callbacks to be called by the signal in an STL container, making trivial to implement operations such as inserting and deleting.
Definition at line 74 of file ConnectionHandler.hxx.
SigSlot::ConnectionHandler< SignalType >::tCallback::tCallback | ( | tConnectionId | id, | |
Slot * | slot, | |||
tCallbackType | cb | |||
) | [inline] |
Definition at line 80 of file ConnectionHandler.hxx.
tCallbackType SigSlot::ConnectionHandler< SignalType >::tCallback::mCallback |
Definition at line 78 of file ConnectionHandler.hxx.
tConnectionId SigSlot::ConnectionHandler< SignalType >::tCallback::mConnection |
Definition at line 76 of file ConnectionHandler.hxx.
Slot* SigSlot::ConnectionHandler< SignalType >::tCallback::mSlot |
Definition at line 77 of file ConnectionHandler.hxx.