Registry / messaging / sobjectizer

sobjectizer

JSON →
library5.8.5vcpkgunverified

SObjectizer is a C++ in-process message dispatching framework with implementation of Actor Model, Publish-Subscribe Model and CSP-like channels.

vcpkg install sobjectizer
INSTALL
IMPORT
SIG · SOBJECTIZER
S
sobjectizer
messagingcppv5.8.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

so_5/all.hpp
#include <so_5/all.hpp>

Create an agent that subscribes to a string message and prints it, then sends itself a message on start.

#include <so_5/all.hpp> #include <iostream> class hello_actor : public so_5::agent_t { public: using so_5::agent_t::agent_t; void so_define_agent() override { so_subscribe_self().event([this](so_5::mhood_t<std::string> msg) { std::cout << "Received: " << *msg << std::endl; }); } void so_evt_start() override { so_5::send<std::string>(*this, "Hello, SObjectizer!"); } }; int main() { so_5::launch([](so_5::environment_t& env) { env.register_agent_as_coop(env.make_agent<hello_actor>()); }); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.8.5latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources

No resource links recorded.

sobjectizer — pip install sobjectizer · libregistry