FlightGear properties tree, implemented as a map.

Make sure protocol file is in FGROOT/Protocol/ and run flightgear with:

--generic=socket,out,5,localhost,1234,udp,ardknod
--generic=socket,in,5,localhost,1235,udp,ardknod

NOTE: simgear SGSocket does not support bi directional udp - which makes since as we'd both be listening and sending on the same socket (locally). To get around this, we don't care about sockets here - callers need to create the bidirectional nature and pass data in / send data out from this single property set.

Constructors

Properties(String generic)

Parses the FlightGear Generic Protocol passed in as an xml string.

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
in_separator → String

String separator used between properties sent from ArdKnob.

read / write
inputs → Map<String, Property>

Properties meant to be sent to FlightGear

read / write
out_separator → String

String separator used between properties sent from FlightGear.

read / write
outputs → Map<String, Property>

Properties sent from FlightGear.

read / write
properties → Map<String, Property>

All properties parsed from the generic protocol.

read / write
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited
operator [](node) → dynamic

Looks up any Property by its Property.node.

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
parse(List<int> data) → void

Parse a line of data sent from FlightGear and update the outputs

toString() → String

Returns a string representation of this object.

inherited