ControlDevice class abstract base

A source of control events.

A subclass hooks its platform listeners up in start, tears them down in stop, and calls emit for every event they turn into.

Implementers

Constructors

ControlDevice()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isStarted → bool
Whether this device has been started and not yet stopped.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

emit(ControlEvent event) → bool
Dispatches event, reporting whether anything answered it.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → void
Starts listening to whatever this device draws its events from.
stop() → void
Stops listening, undoing start.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited