template<typename ... Args>
struct rose::Protocol< Args >
A convenience structure that composes Signal and Slot types from a protocol signature, and provides a Slot factory.
All Slots should be created by the appropriated Protocol Slot factory. This ensures that the Slots will be properly composed std::shared_ptr or std::weak_ptr. Also using a Protocol structure to create Signals and Slots will ensure that those intended to be connected have compatible signatures.
- Template Parameters
-
Args | The signature of all Signals and Slots in the Protocol. |