SObjectizer  5.8
Loading...
Searching...
No Matches
so_5::execution_demand_t Struct Reference

A description of event execution demand. More...

#include <execution_demand.hpp>

Inheritance diagram for so_5::execution_demand_t:
so_5::disp::prio_one_thread::quoted_round_robin::impl::demand_t so_5::disp::prio_one_thread::strictly_ordered::impl::demand_t so_5::disp::thread_pool::impl::basic_event_queue_t::demand_t

Public Member Functions

 execution_demand_t () noexcept
 Default constructor.
 
 execution_demand_t (agent_t *receiver, const message_limit::control_block_t *limit, mbox_id_t mbox_id, std::type_index msg_type, message_ref_t message_ref, demand_handler_pfn_t demand_handler) noexcept
 
void call_handler (current_thread_id_t thread_id)
 Helper method to simplify demand execution.
 

Public Attributes

agent_tm_receiver
 Receiver of demand.
 
const message_limit::control_block_tm_limit
 Optional message limit for that message.
 
mbox_id_t m_mbox_id
 ID of mbox.
 
std::type_index m_msg_type
 Type of the message.
 
message_ref_t m_message_ref
 Event incident.
 
demand_handler_pfn_t m_demand_handler
 Demand handler.
 

Detailed Description

A description of event execution demand.

Since
v.5.4.0

Definition at line 60 of file execution_demand.hpp.

Constructor & Destructor Documentation

◆ execution_demand_t() [1/2]

so_5::execution_demand_t::execution_demand_t ( )
inlinenoexcept

Default constructor.

Definition at line 76 of file execution_demand.hpp.

◆ execution_demand_t() [2/2]

so_5::execution_demand_t::execution_demand_t ( agent_t * receiver,
const message_limit::control_block_t * limit,
mbox_id_t mbox_id,
std::type_index msg_type,
message_ref_t message_ref,
demand_handler_pfn_t demand_handler )
inlinenoexcept

Definition at line 84 of file execution_demand.hpp.

Member Function Documentation

◆ call_handler()

void so_5::execution_demand_t::call_handler ( current_thread_id_t thread_id)
inline

Helper method to simplify demand execution.

Since
v.5.5.8

Definition at line 106 of file execution_demand.hpp.

Member Data Documentation

◆ m_demand_handler

demand_handler_pfn_t so_5::execution_demand_t::m_demand_handler

Demand handler.

Definition at line 73 of file execution_demand.hpp.

◆ m_limit

const message_limit::control_block_t* so_5::execution_demand_t::m_limit

Optional message limit for that message.

Definition at line 65 of file execution_demand.hpp.

◆ m_mbox_id

mbox_id_t so_5::execution_demand_t::m_mbox_id

ID of mbox.

Definition at line 67 of file execution_demand.hpp.

◆ m_message_ref

message_ref_t so_5::execution_demand_t::m_message_ref

Event incident.

Definition at line 71 of file execution_demand.hpp.

◆ m_msg_type

std::type_index so_5::execution_demand_t::m_msg_type

Type of the message.

Definition at line 69 of file execution_demand.hpp.

◆ m_receiver

agent_t* so_5::execution_demand_t::m_receiver

Receiver of demand.

Definition at line 63 of file execution_demand.hpp.


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