DelegateMQ
Loading...
Searching...
No Matches
dmq::DelegateMsg Class Reference

Base class for all delegate inter-thread messages. More...

#include <DelegateMsg.h>

Inheritance diagram for dmq::DelegateMsg:
dmq::DelegateAsyncMsg< Args > dmq::DelegateAsyncWaitMsg< Args >

Public Member Functions

 DelegateMsg (std::shared_ptr< IThreadInvoker > invoker, Priority priority)
 
virtual ~DelegateMsg ()=default
 
std::shared_ptr< IThreadInvokerGetInvoker () const
 
Priority GetPriority ()
 

Detailed Description

Base class for all delegate inter-thread messages.

Constructor & Destructor Documentation

◆ DelegateMsg()

dmq::DelegateMsg::DelegateMsg ( std::shared_ptr< IThreadInvoker > invoker,
Priority priority )
inline

Constructor

Parameters
[in]invoker- the invoker instance the delegate is registered with.

◆ ~DelegateMsg()

virtual dmq::DelegateMsg::~DelegateMsg ( )
virtualdefault

Member Function Documentation

◆ GetInvoker()

std::shared_ptr< IThreadInvoker > dmq::DelegateMsg::GetInvoker ( ) const
inline

Get the delegate invoker instance the delegate is registered with.

Returns
The invoker instance.

◆ GetPriority()

Priority dmq::DelegateMsg::GetPriority ( )
inline

Get the delegate message priority

Returns
Delegate message priority

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