contur2
Loading...
Searching...
No Matches
device_manager.h File Reference

DeviceManager — registry and dispatcher for I/O devices. More...

#include <functional>
#include <memory>
#include <optional>
#include <vector>
#include "contur/core/error.h"
#include "contur/core/types.h"
#include "contur/io/i_device.h"
Include dependency graph for device_manager.h:

Go to the source code of this file.

Classes

class  contur::DeviceManager
 Registry and dispatcher for I/O devices. More...

Namespaces

namespace  contur

Detailed Description

DeviceManager — registry and dispatcher for I/O devices.

Manages a collection of IDevice instances, allowing registration, lookup, and dispatch of read/write operations by DeviceId. Uses the Composite pattern to treat all devices uniformly.

Definition in file device_manager.h.