EduDataSource class abstract
A named stream of values, sampled once per fixed step — edu-00's
edu_data_source (doc/edu-00-interactive-format.md §9), read from the
side of a running simulation rather than from a controller.
Plain Dart, on purpose. A twin's temperature reading becomes an input
to the same fixed step that a joystick axis already is — that is the
whole point edu-00 §9 makes ("значение из источника... становится
вводом для этого шага ленты") — and an input this package does not know
how to read without a network stack would be an input only half the
packages depending on this one could use. MqttDataSource and
WebSocketDataSource are therefore adapters a caller writes against this
interface, in whatever package can afford to know about sockets; this
package ships the one implementation it can prove without one.
- Implementers
Constructors
- EduDataSource()
-
const
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sample(
int step) → Object? -
The payload this source held at
step— whatever shape the real sensor sends, read back the same wayedu_data_source.pathalready expects (sensors.spindle.rpm, one level deeper than a level's ownEntityDef.number/.vectorread their own properties). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited