20 #ifndef INCLUDED_utility_signals_Link_hh
21 #define INCLUDED_utility_signals_Link_hh
50 typedef utility::pointer::shared_ptr< LinkUnit >
LinkUnitOP;
85 if (
this != &rval ) {
109 return (
unit_ == NULL );
128 unit_->valid =
false;
138 return unit_->blocked;
148 unit_->blocked =
true;
157 unit_->blocked =
false;
utility::pointer::shared_ptr< LinkUnit > LinkUnitOP
Non-owning access smart pointer – dispatch class.
bool empty() const
link empty?
interface wrapper around utility::signals::LinkUnit
Link()
default constructor
bool operator==(Link const &rval)
equality comparison
~Link()
default destructor
class specifying actual link data between observers and subjects
bool valid() const
link still valid?
Link(Link const &rval)
copy constructor
Link(LinkUnitOP unit)
LinkUnit constructor.
void unblock()
locally unblock the link
Link & operator=(Link const &rval)
copy assignment
forward declaration for utility::signals::Link
void invalidate()
cut the connection, safe to call even when link is empty
void block()
locally block the link
bool blocked() const
link blocked?