SigSlot::ConnectionHandler< SignalType >::tCallback Struct Reference

Inner type for ConnectionHandler. More...

#include <ConnectionHandler.hxx>

List of all members.

Public Member Functions

 tCallback (tConnectionId id, Slot *slot, tCallbackType cb)

Public Attributes

tConnectionId mConnection
SlotmSlot
tCallbackType mCallback

Detailed Description

template<class SignalType>
struct SigSlot::ConnectionHandler< SignalType >::tCallback

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.


Constructor & Destructor Documentation

template<class SignalType>
SigSlot::ConnectionHandler< SignalType >::tCallback::tCallback ( tConnectionId  id,
Slot slot,
tCallbackType  cb 
) [inline]

Definition at line 80 of file ConnectionHandler.hxx.


Member Data Documentation

template<class SignalType>
tCallbackType SigSlot::ConnectionHandler< SignalType >::tCallback::mCallback

Definition at line 78 of file ConnectionHandler.hxx.

template<class SignalType>
tConnectionId SigSlot::ConnectionHandler< SignalType >::tCallback::mConnection

Definition at line 76 of file ConnectionHandler.hxx.

template<class SignalType>
Slot* SigSlot::ConnectionHandler< SignalType >::tCallback::mSlot

Definition at line 77 of file ConnectionHandler.hxx.


The documentation for this struct was generated from the following file:
Generated by  doxygen 1.6.3