Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

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

  1. junction(bool enabled = true);

    Initializes the junction to be enabled.

junction public member functions

  1. void enable() ;

    Enables the junction (signals will be forwarded).

  2. void disable() ;

    Disables the junction (signals will not be forwarded).

Copyright © 2007 Stjepan Rajko

PrevUpHomeNext