Expand description
Component system for managing stateful system entities.
This module provides the component framework for managing the lifecycle and state of system entities. Components have defined states (pre-initialized, ready, running, stopped, etc.) and provide a consistent interface for state management and transitions.
Structs§
- Component
Registry - Registry for storing components.
Traits§
- Component
- Components have state and lifecycle management capabilities.
Functions§
- dispose_
component - Safely calls dispose() on a component in the global registry.
- get_
component - Returns a component from the global registry by ID.
- get_
component_ registry - Returns a reference to the global component registry.
- register_
component - Registers a component.
- register_
component_ actor - Registers a component that also implements Actor.
- reset_
component - Safely calls reset() on a component in the global registry.
- start_
component - Safely calls start() on a component in the global registry.
- stop_
component - Safely calls stop() on a component in the global registry.