CppZmqZoltanExt 0.0.1
Loading...
Searching...
No Matches
signal.h File Reference

Signal definitions and utilities for actor inter-thread communication. More...

#include <array>
#include <optional>
#include <zmq.hpp>
#include "cppzmqzoltanext/czze_export.h"
Include dependency graph for signal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  zmqzext::signal_t
 Class representing signals for ZMQ communication. More...
 

Detailed Description

Signal definitions and utilities for actor inter-thread communication.

This header provides the signal_t class for managing standardized signals used in communication through ZMQ (ZeroMQ) messaging. Signals are lightweight messages that convey state information in a distributed or multi-threaded system.

The module defines three primary signal types:

  • success: Indicates successful completion of an operation
  • failure: Indicates failed completion of an operation
  • stop: Indicates a request to terminate or stop execution
Note
Signals are serialized as single-byte ZMQ messages for efficiency.
See also
zmq::message_t for ZMQ message types

Key features:

  • Type-safe signal enumeration
  • Factory methods for creating signal messages
  • Integration with zmq::message_t
Authors
Luan Young (luanp.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om)

Distributed under the MIT License (MIT) (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)

Definition in file signal.h.