libelec
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Public Member Functions | Data Fields
elec_comp_t Struct Reference
Collaboration diagram for elec_comp_t:
Collaboration graph
[legend]

Public Member Functions

 ALIGN_ATTR (16) int __serialize_start_marker[1]
 

Data Fields

elec_sys_t * sys
 
elec_comp_info_tinfo
 
uint64_t integ_mask
 
elec_link_tlinks
 
unsigned n_links
 
unsigned src_idx
 
unsigned comp_idx
 
mutex_t rw_ro_lock
 
struct {
   double   in_volts
 
   double   out_volts
 
   double   in_amps
 
   double   out_amps
 
   double   short_amps
 
   double   in_pwr
 
   double   out_pwr
 
   double   in_freq
 
   double   out_freq
 
   bool   failed
 
   bool   shorted
 
   double   leak_factor
 
rw
 
struct {
   double   in_volts
 
   double   out_volts
 
   double   in_amps
 
   double   out_amps
 
   double   short_amps
 
   double   in_pwr
 
   double   out_pwr
 
   double   in_freq
 
   double   out_freq
 
   bool   failed
 
   bool   shorted
 
   double   leak_factor
 
ro
 
int __serialize_end_marker [1]
 
double src_int_cond_total
 
uint64_t src_mask
 
elec_comp_t * srcs [ELEC_MAX_SRCS]
 
unsigned n_srcs
 
elec_comp_t * srcs_ext [ELEC_MAX_SRCS]
 
union {
   elec_batt_t   batt
 
   elec_gen_t   gen
 
   elec_tru_t   tru
 
   elec_xfrmr_t   xfrmr
 
   elec_load_t   load
 
   elec_scb_t   scb
 
   elec_tie_t   tie
 
}; 
 
list_node_t comps_node
 
list_node_t gens_batts_node
 
list_node_t ties_node
 
avl_node_t info2comp_node
 
avl_node_t name2comp_node
 

Detailed Description

Definition at line 201 of file libelec_types_impl.h.


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