6 #ifndef __FWCOM_SLOTCONNECTIONBASE_HPP__ 7 #define __FWCOM_SLOTCONNECTIONBASE_HPP__ 9 #include <fwCore/BaseObject.hpp> 11 #include "fwCom/config.hpp" 25 typedef std::shared_ptr< SlotConnectionBase > sptr;
26 typedef std::shared_ptr< SlotConnectionBase const > csptr;
27 typedef std::weak_ptr< SlotConnectionBase > wptr;
28 typedef std::weak_ptr< SlotConnectionBase const > cwptr;
30 typedef std::shared_ptr< void > BlockerSptrType;
31 typedef std::weak_ptr< void > BlockerWptrType;
55 template <
typename F >
SlotConnectionBase & operator=(const SlotConnectionBase &)
Copy operator forbidden.
Base class for all FW4SPL's classes.
Namespace containing fw4spl communication tools.
virtual BlockerSptrType getBlocker()=0
Returns a .. to block this connection.
Base class for Slot connection implementation. This class is for internal use purpose.
virtual void disconnect()=0
Disconnect a Slot from this connection.
virtual void connectNoLock()=0
NOT THREAD SAFE Connect the related Signal and Slot together.
virtual void disconnectWeakLock()=0
NOT THREAD SAFE Disconnect a Slot from this connection.