Quick Links:

bal | bbl | bdl | bsl

Public Member Functions | Protected Member Functions

bdlmt::Signaler_SlotNode_Base Class Reference

#include <bdlmt_signaler.h>

Inheritance diagram for bdlmt::Signaler_SlotNode_Base:
bdlmt::Signaler_SlotNode< t_PROT >

List of all members.

Public Member Functions

virtual void disconnect () BSLS_KEYWORD_NOEXCEPT=0
virtual void disconnectAndWait () BSLS_KEYWORD_NOEXCEPT=0
virtual bool isConnected () const =0

Protected Member Functions

virtual ~Signaler_SlotNode_Base ()

Detailed Description

Provide a non-template protocol base class for Signaler_SlotNode so SignalerConnection objects, which are not templated, can refer to and manipulate Signaler_SlotNode objects.

See Component bdlmt_signaler


Constructor & Destructor Documentation

virtual bdlmt::Signaler_SlotNode_Base::~Signaler_SlotNode_Base (  )  [protected, virtual]

Virtual d'tor.


Member Function Documentation

virtual void bdlmt::Signaler_SlotNode_Base::disconnect (  )  [pure virtual]

Disconnect this slot and return without waiting. If the slot was already disconnected, this function has no effect. Throws nothing. Note that it is guaranteed that this slot will not be called by a signal on the same signaler that begins after this function completes.

Implemented in bdlmt::Signaler_SlotNode< t_PROT >.

virtual void bdlmt::Signaler_SlotNode_Base::disconnectAndWait (  )  [pure virtual]

Disconnect this slot and block the calling thread pending the completion of signals being emitted on the signaler by any other threads. If the slot was already disconnected, this function has no effect on the slot. Throws nothing. The behavior is undefined if this function is called from a slot on the same signaler. Note that it is guaranteed that this slot will not be called by a signal on the same signaler that begins after this function completes, whether wait is true or not.

Implemented in bdlmt::Signaler_SlotNode< t_PROT >.

virtual bool bdlmt::Signaler_SlotNode_Base::isConnected (  )  const [pure virtual]

Return true if this slot is connected to its associated signaler, and false otherwise.

Implemented in bdlmt::Signaler_SlotNode< t_PROT >.


The documentation for this class was generated from the following file: