eao197

Results 170 comments of eao197

SObjectizer doesn't allow the handling of a message of unknown type. That is why a subscription is possible only to a message of a particular type. And there is no...

I think a trick with the usage of custom mbox and custom [message envelope](https://github.com/Stiffstream/sobjectizer/wiki/SO-5.7-InDepth-Enveloped-Messages) can be used here to avoid manual work. The scheme is: * you create your own...

There is an underwater rock here. The information about subscriptions is stored in two places: 1. Inside the subscription storage in the agent itself. This information is used during the...

Good question! :) I think it's some heritage from ancient times. I don't think there are some reasons that prevent making `agent_t::st_default` non-const member of `agent_t`. I'll try to look...

There is a hidden underwater rock: a call to `on_enter` handlers for child states. For example: ```cpp class demo final : public so_5::agent_t { state_t st_parent{this, "parent"}; state_t st_child_1{initial_substate_of{st_parent}, "child_1"};...

Hi! I made several attempts to solve this problem in the past, but didn't found a solution. So, maybe it's time to make a new attempt... :)

A question that have never been asked earlier: There are not only event handlers, but also delivery filters, message limits and message sinks (with transformers or something else) that are...

And a more complex case with delivery_filters. Let's imagine a hierarchy: ``` image_base `- image_vendor_A `- image_bgr_base `- image_vendor_B `- image_vendor_C ``` And potential `so_define_agent`: ```cpp void some_handler::so_define_agent() { so_set_delivery_filter(source_mbox,...

Hi, @ilpropheta ! Your example: ```cpp env.environment().introduce_coop([&](so_5::coop_t& c) { auto tpool = so_5::disp::thread_pool::make_dispatcher(env.environment(), 4); c.make_agent_with_binder( tpool.binder(), // expected tpool.binder(), // weird to pass twice... ... other stuff ...); }); ```...