2
3
6
7
8
9
10
11
13#include <so_5/stats/impl/ds_agent_core_stats.hpp>
15#include <so_5/stats/messages.hpp>
16#include <so_5/stats/std_names.hpp>
18#include <so_5/send_functions.hpp>
36 const mbox_t & distribution_mbox )
An interface for environment_infrastructure entity.
virtual coop_repository_stats_t query_coop_repository_stats()=0
Query run-time statistics for cooperation repository.
void distribute(const mbox_t &distribution_mbox) override
Send appropriate notification about the current value.
ds_agent_core_stats_t(so_5::environment_infrastructure_t &what)
so_5::environment_infrastructure_t & m_what
Internal implementation of run-time monitoring and statistics related stuff.
Declarations of messages used by run-time monitoring and statistics.
Predefined prefixes of data-sources.
SO_5_FUNC prefix_t coop_repository()
Prefix of data sources with statistics for cooperations and agents repository.
Predefined suffixes of data-sources.
SO_5_FUNC suffix_t coop_final_dereg_count()
Suffix for data source with count of cooperations waiting the final deregistration step and removemen...
SO_5_FUNC suffix_t agent_count()
Suffix for data source with count of agents bound to some entity.
SO_5_FUNC suffix_t coop_count()
Suffix for data source with count of cooperations.
All stuff related to run-time monitoring and statistics.
Private part of message limit implementation.
void send(Target &&to, Args &&... args)
A utility function for creating and delivering a message or a signal.
std::size_t m_total_coop_count
Count of cooperations inside the environment.
std::size_t m_total_agent_count
Count of registered agents.
std::size_t m_final_dereg_coop_count
Count of coops waiting for the final deregistration.
A message with value of some quantity.