Thread‐safe signaler that invokes connected slots via its call operator.
Synopsis
Declared in <bdlmt_signaler.h>
template<class t_PROT>
class Signaler
: public Signaler_Invocable<Signaler<t_PROT>, t_PROT>
Description
This class template provides a thread‐safe signaler that executes connected slots when invoked via its call operator. t_PROT is a function signature and must have a return type of void. The callable objects assigned to the slots may have return types other than void, in which case their return values will be discarded.
Base Classes
Name |
Description |
|
Provides a call operator for the derived class |
Type Aliases
Name |
Description |
Result type of |
Member Functions
Name |
Description |
|
Create a |
|
Destroy this object. Call |
Connect |
|
Disconnect all slots connected to this signaler without waiting. |
|
Disconnect all slots and wait for in‐progress signals to finish. |
|
Disconnect all slots in |
|
Disconnect all slots in |
|
Return the number of slots connected to this signaler. |
|
|
Declare that this type uses |
Friends
Name |
Description |
Provides a call operator for the derived class |
Created with MrDocs