SObjectizer
5.5
|
A base class for concrete messages with information about service requests. More...
#include <message.hpp>
Public Member Functions | |
virtual void | set_exception (std::exception_ptr ex)=0 |
Setup exception information to underlying promise/future objects. More... | |
virtual message_t & | query_param () const SO_5_NOEXCEPT=0 |
Access to param of service_request. More... | |
![]() | |
atomic_refcounted_t (const atomic_refcounted_t &)=delete | |
atomic_refcounted_t & | operator= (const atomic_refcounted_t &)=delete |
atomic_refcounted_t () SO_5_NOEXCEPT | |
Default constructor. More... | |
~atomic_refcounted_t () SO_5_NOEXCEPT=default | |
Destructor. More... | |
void | inc_ref_count () SO_5_NOEXCEPT |
Increments reference count. More... | |
unsigned long | dec_ref_count () SO_5_NOEXCEPT |
Decrement reference count. More... | |
Static Public Member Functions | |
template<class Lambda > | |
static void | dispatch_wrapper (const message_ref_t &what, Lambda handler) |
Helper wrapper for handling exceptions during service request dispatching. More... | |
Private Member Functions | |
virtual message_mutability_t | so5_message_mutability () const override=0 |
Get message mutability flag. More... | |
virtual void | so5_change_mutability (message_mutability_t) override=0 |
Change message mutabilty flag. More... | |
kind_t | so5_message_kind () const SO_5_NOEXCEPT override |
Detect the kind of the message. More... | |
Additional Inherited Members |
A base class for concrete messages with information about service requests.
|
inlinestatic |
Helper wrapper for handling exceptions during service request dispatching.
|
pure virtual |
Access to param of service_request.
Implemented in so_5::msg_service_request_t< Result, Param >.
|
pure virtual |
Setup exception information to underlying promise/future objects.
Implemented in so_5::msg_service_request_t< Result, Param >.
|
overrideprivatepure virtual |
Change message mutabilty flag.
Reimplemented from so_5::message_t.
Implemented in so_5::msg_service_request_t< Result, Param >.
|
inlineoverrideprivatevirtual |
Detect the kind of the message.
Reimplemented from so_5::message_t.
|
overrideprivatepure virtual |
Get message mutability flag.
Reimplemented from so_5::message_t.
Implemented in so_5::msg_service_request_t< Result, Param >.