TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
Loading...
Searching...
No Matches
tec_actor.hpp File Reference

Core interface for TEC actors with lifecycle management and request processing. More...

#include "tec/tec_def.hpp"
#include "tec/tec_status.hpp"
#include "tec/tec_signal.hpp"
#include "tec/tec_message.hpp"

Go to the source code of this file.

Classes

class  tec::Actor
 Abstract base class defining the actor lifecycle and request handling interface. More...
 

Detailed Description

Core interface for TEC actors with lifecycle management and request processing.

This header defines the tec::Actor abstract base class, which serves as the foundation for all actor implementations in the TEC framework. Actors encapsulate asynchronous services with well-defined start/shutdown semantics and request-reply message handling.

Key features:

  • Non-copyable, polymorphic base class.
  • Signal-based lifecycle notifications (start, shutdown).
  • Synchronous request processing via process_request.
Note
This file is part of the TEC framework.
See also
tec_signal.hpp, tec_status.hpp, tec_message.hpp
Author
The Emacs Cat
Date
2025-10-28