|
SObjectizer 5.8
|
Implementation of abstract_sink_owner that owns an instance of message sink. More...
#include <message_sink.hpp>
Public Member Functions | |
| template<typename... Args> | |
| simple_sink_owner_t (Args &&...args) | |
| Initializing constructor. | |
| abstract_message_sink_t & | sink () noexcept override |
| Get a reference to the underlying message sink. | |
| const abstract_message_sink_t & | sink () const noexcept override |
| Get a const reference to the underlying message sink. | |
Public Member Functions inherited from so_5::abstract_sink_owner_t | |
| abstract_sink_owner_t ()=default | |
| virtual | ~abstract_sink_owner_t () noexcept=default |
Private Attributes | |
| Sink_Type | m_sink |
Additional Inherited Members | |
Protected Member Functions inherited from so_5::atomic_refcounted_t | |
| atomic_refcounted_t (const atomic_refcounted_t &)=delete | |
| atomic_refcounted_t & | operator= (const atomic_refcounted_t &)=delete |
| atomic_refcounted_t () noexcept | |
| Default constructor. | |
| ~atomic_refcounted_t () noexcept=default | |
| Destructor. | |
| void | inc_ref_count () noexcept |
| Increments reference count. | |
| unsigned long | dec_ref_count () noexcept |
| Decrement reference count. | |
Implementation of abstract_sink_owner that owns an instance of message sink.
| Sink_Type | Type of the message sink to be created as a part of owner object. |
Definition at line 290 of file message_sink.hpp.
|
inline |
Initializing constructor.
Forwards all arguments to the m_sink's constructor.
Definition at line 301 of file message_sink.hpp.
|
inlinenodiscardoverridevirtualnoexcept |
Get a const reference to the underlying message sink.
Implements so_5::abstract_sink_owner_t.
Definition at line 314 of file message_sink.hpp.
|
inlinenodiscardoverridevirtualnoexcept |
Get a reference to the underlying message sink.
Implements so_5::abstract_sink_owner_t.
Definition at line 307 of file message_sink.hpp.
|
private |
Definition at line 292 of file message_sink.hpp.