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

IDevice — abstract interface for I/O devices. More...

#include <string_view>
#include "contur/core/error.h"
#include "contur/core/types.h"
Include dependency graph for i_device.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  contur::IDevice
 Abstract interface for a simulated I/O device. More...

Namespaces

namespace  contur

Detailed Description

IDevice — abstract interface for I/O devices.

All simulated I/O devices (console, network, disk, etc.) implement this interface. The DeviceManager dispatches read/write operations to the appropriate device by DeviceId.

Definition in file i_device.h.