xplane v0.1.0 XPlane.DRef

Represent an X-Plane Data Reference (DREF) and provide helper methods to load the closest available set of DREFs for a given X-Plane version

Link to this section Summary

Functions

Load the closest list of DataRefs we have available for the specified X-Plane version

Link to this section Types

Link to this type t()
t() :: %XPlane.DRef{
  code: integer(),
  description: String.t(),
  id: atom(),
  name: String.t(),
  type: XPlane.DRef.xtype(),
  units: String.t(),
  writable: boolean()
}
Link to this type xtype()
xtype() ::
  {:byte | :float | :int | :uint | :short | :ushort, [integer()]} | :void

Link to this section Functions

Link to this function describe(drefs, pattern)
Link to this function load_version(version_number)
load_version(integer()) :: %{atom: XPlane.DRef.t()}

Load the closest list of DataRefs we have available for the specified X-Plane version.

Parameters