IoDevicePort class abstract
Abstract port for IO device communication.
Provides a unified interface for interacting with hardware devices including reading sensor data, executing commands, subscribing to real-time data streams, and performing emergency stops.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
) → Future< void> - Establish connection to the device. Idempotent.
-
describe(
) → Future< DeviceDescriptor> - Describe the device and its resource tree.
-
disconnect(
) → Future< void> - Disconnect from the device and release resources.
-
emergencyStop(
EmergencyStopRequest request) → Future< EmergencyStopResult> - Perform an emergency stop on the device.
-
execute(
Command command) → Future< CommandResult> - Execute a command on the device.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
ReadSpec spec) → Future< ReadResult> - Read one or more resources from the device.
-
subscribe(
TopicSpec spec) → Stream< PayloadEnvelope> - Subscribe to a topic for real-time data delivery.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited