SObjectizer  5.8
Loading...
Searching...
No Matches
so_5::mchain_select_result_t Class Reference

A result of select from several mchains. More...

#include <mchain_select.hpp>

Public Member Functions

 mchain_select_result_t () noexcept
 Default constructor.
 
 mchain_select_result_t (std::size_t extracted, std::size_t handled, std::size_t sent, std::size_t closed) noexcept
 Initializing constructor.
 
std::size_t extracted () const noexcept
 Count of extracted incoming messages.
 
std::size_t handled () const noexcept
 Count of handled incoming messages.
 
std::size_t sent () const noexcept
 Count of messages sent.
 
std::size_t closed () const noexcept
 Count of closed chains.
 
bool was_extracted () const noexcept
 
bool was_handled () const noexcept
 
bool was_sent () const noexcept
 
bool was_closed () const noexcept
 
bool was_sent_or_received () const noexcept
 

Private Attributes

std::size_t m_extracted
 Count of extracted incoming messages.
 
std::size_t m_handled
 Count of handled incoming messages.
 
std::size_t m_sent
 Count of messages sent.
 
std::size_t m_closed
 Count of closed chains.
 

Detailed Description

A result of select from several mchains.

Since
v.5.7.0
Examples
so_5/mchain_fibonacci/main.cpp.

Definition at line 53 of file mchain_select.hpp.

Constructor & Destructor Documentation

◆ mchain_select_result_t() [1/2]

so_5::mchain_select_result_t::mchain_select_result_t ( )
inlinenoexcept

Default constructor.

Definition at line 66 of file mchain_select.hpp.

◆ mchain_select_result_t() [2/2]

so_5::mchain_select_result_t::mchain_select_result_t ( std::size_t extracted,
std::size_t handled,
std::size_t sent,
std::size_t closed )
inlinenoexcept

Initializing constructor.

Parameters
extractedCount of extracted incoming messages.
handledCount of handled incoming messages.
sentCount of messages sent.
closedCount of closed chains.

Definition at line 74 of file mchain_select.hpp.

Member Function Documentation

◆ closed()

std::size_t so_5::mchain_select_result_t::closed ( ) const
inlinenodiscardnoexcept

Count of closed chains.

Definition at line 107 of file mchain_select.hpp.

◆ extracted()

std::size_t so_5::mchain_select_result_t::extracted ( ) const
inlinenodiscardnoexcept

Count of extracted incoming messages.

Definition at line 92 of file mchain_select.hpp.

◆ handled()

std::size_t so_5::mchain_select_result_t::handled ( ) const
inlinenodiscardnoexcept

Count of handled incoming messages.

Definition at line 97 of file mchain_select.hpp.

◆ sent()

std::size_t so_5::mchain_select_result_t::sent ( ) const
inlinenodiscardnoexcept

Count of messages sent.

Definition at line 102 of file mchain_select.hpp.

◆ was_closed()

bool so_5::mchain_select_result_t::was_closed ( ) const
inlinenodiscardnoexcept
Returns
true if closed() is not 0.

Definition at line 135 of file mchain_select.hpp.

◆ was_extracted()

bool so_5::mchain_select_result_t::was_extracted ( ) const
inlinenodiscardnoexcept
Returns
true if extracted() is not 0.

Definition at line 114 of file mchain_select.hpp.

◆ was_handled()

bool so_5::mchain_select_result_t::was_handled ( ) const
inlinenodiscardnoexcept
Returns
true if handled() is not 0.
Examples
so_5/mchain_fibonacci/main.cpp.

Definition at line 121 of file mchain_select.hpp.

◆ was_sent()

bool so_5::mchain_select_result_t::was_sent ( ) const
inlinenodiscardnoexcept
Returns
true if sent() is not 0.
Examples
so_5/mchain_fibonacci/main.cpp.

Definition at line 128 of file mchain_select.hpp.

◆ was_sent_or_received()

bool so_5::mchain_select_result_t::was_sent_or_received ( ) const
inlinenodiscardnoexcept
Returns
true if something was sent or received/handled.

Definition at line 142 of file mchain_select.hpp.

Member Data Documentation

◆ m_closed

std::size_t so_5::mchain_select_result_t::m_closed
private

Count of closed chains.

Definition at line 62 of file mchain_select.hpp.

◆ m_extracted

std::size_t so_5::mchain_select_result_t::m_extracted
private

Count of extracted incoming messages.

Definition at line 56 of file mchain_select.hpp.

◆ m_handled

std::size_t so_5::mchain_select_result_t::m_handled
private

Count of handled incoming messages.

Definition at line 58 of file mchain_select.hpp.

◆ m_sent

std::size_t so_5::mchain_select_result_t::m_sent
private

Count of messages sent.

Definition at line 60 of file mchain_select.hpp.


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