libelec
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
elec_comp_info_t Struct Reference

#include <libelec.h>

Detailed Description

After parsing the electrical definition, each component gets an info structure generated, containing the parsed information. You can request this structure from the component using libelec_comp2info(). This is mostly useful for interrogating various information about the component, such as its type, name and various configuration details pertaining to its configuration.

Each elec_comp_info_t structure contains a union of various component-type-specific information. You should only access the type-specific structures matched to the component type.


The documentation for this struct was generated from the following file: