Class template junction
boost::signals::junction — Forwards a single signal to multiple slots, and can also be disabled to stop the flow of signals. junction is a conditional with Condition identity and Member volatile bool.
Synopsis
template<typename Signature, typename OutSignal = unfused,
typename Combiner = boost::last_value<typename boost::function_types::result_type<Signature>::type>,
typename Group = int, typename GroupCompare = std::less<Group> >
class junction {
public:
// construct/copy/destruct
junction(bool = true);
// public member functions
void enable() ;
void disable() ;
};
Description
junction construct/copy/destruct
-
junction(bool enabled = true);
Initializes the junction to be enabled.
junction public member functions
-
void enable() ;
Enables the junction (signals will be forwarded).
-
void disable() ;
Disables the junction (signals will not be forwarded).