Rose
Public Types | Public Attributes | List of all members
rose::Slot< Args > Struct Template Reference

The receiver portion of a Signal-Slot transmitter receiver pair. More...

#include <Signals.h>

Inheritance diagram for rose::Slot< Args >:
Inheritance graph
[legend]
Collaboration diagram for rose::Slot< Args >:
Collaboration graph
[legend]

Public Types

using signal_function = std::function< void(Args...)>
 

Public Attributes

signal_function receiver {}
 

Detailed Description

template<typename ... Args>
struct rose::Slot< Args >

The receiver portion of a Signal-Slot transmitter receiver pair.

Template Parameters
ArgsThe signature of the Slot.

The signature of the Slot also sets the signature of the receiver function that is called when a Signal is received. Signals and Slots must share the same signature to be connected.


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