scim  1.4.18
scim::Signal2< R, P1, P2, Marshal > Class Template Reference

A template for a signal passing two arguments of type P1 and P2, and returning a value of type R. More...

#include <scim_signals.h>

Public Types

typedef Slot2< R, P1, P2 > SlotType
 Function signature for handlers connecting to the signal. More...
 

Additional Inherited Members

- Public Member Functions inherited from scim::Signal
 Signal ()
 Constructor. More...
 
virtual ~Signal ()
 Destructor. More...
 
SlotNodeconnect (Slot *slot)
 Creates a new SlotNode for slot and adds it to the connection_list. More...
 
- Protected Types inherited from scim::Signal
typedef std::vector< Pointer< SlotNode > > ConnectionList
 ConnectionList type. More...
 
- Protected Attributes inherited from scim::Signal
ConnectionList connection_list
 A list of all the slots connected to the signal. More...
 

Detailed Description

template<typename R, typename P1, typename P2, typename Marshal = class DefaultMarshal<R>>
class scim::Signal2< R, P1, P2, Marshal >

A template for a signal passing two arguments of type P1 and P2, and returning a value of type R.

Member Typedef Documentation

◆ SlotType

template<typename R , typename P1 , typename P2 , typename Marshal = class DefaultMarshal<R>>
typedef Slot2<R, P1, P2> scim::Signal2< R, P1, P2, Marshal >::SlotType

Function signature for handlers connecting to the signal.


The documentation for this class was generated from the following file: