Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | Related Pages

VDKSignal0< Ret > Class Template Reference

makes a signal of type: Signal2<Ret, VDKObject*, P1> More...

#include <sigc_addon.h>

List of all members.


Detailed Description

template<class Ret>
class VDKSignal0< Ret >

makes a signal of type: Signal2<Ret, VDKObject*, P1>

This template basically makes a signal of type: Signal2<Ret, VDKObject*, P1> what also accepts slots of type: Slot1<Ret,P1> for VDKSignal1<Ret, P1>. Attention: To emit a signal like this you have to call 'emit(VDKObject* ob, P1)' , that means 'emit(P1)' is not available. This must be as we must handle all subscribed signal_receivers equal. This nameing convention also applies on the other classes, so VDKSignal0<Ret> wraps Signal0<Ret> and Signal1<Ret, VDKObject*>.

For the moment you can not connect two VDKSignal#'s dircetly, as VDKSignal#.slot() is not availbale. But in real life (code) you should not do it either. Coupling a SigC::Signal# on a VDKSignal# works, what is what you (probably) want instead.


The documentation for this class was generated from the following file:
Generated on Wed Aug 6 11:01:59 2003 for vdk 2.0.3 by doxygen 1.3.2