GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QPIG / dev > qpig / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

state_p.h File Reference

Compile time macros that verify the QPIG and PIG structures match. More...

#include <QPIG/state.h>
#include <PBI/Check.h>
#include <PBI/Ofs.h>

Functions

 CHECK (Enum_n_pdu, QPIG_N_PDU==PIG_N_PDU)
 CHECK (Enum_n_tem, QPIG_N_TEM==PIG_N_TEM)
 CHECK (Enum_n_ccc, QPIG_N_CCC==PIG_N_CCC)
 CHECK (Enum_n_tcc, QPIG_N_TCC==PIG_N_TCC)
 CHECK (Enum_n_free, QPIG_N_FREE==PIG_N_FREE)
 CHECK (Enum_curr_version, QPIG_CURR_VERSION==PIG_CURR_VERSION)
 CHECK (Size_cru_config, SIZE_OF(QPIG_cruState, config)==SIZE_OF(PIG_cruState, config))
 CHECK (Size_cru_command, SIZE_OF(QPIG_cruState, command)==SIZE_OF(PIG_cruState, command))
 CHECK (Size_cru_response, SIZE_OF(QPIG_cruState, response)==SIZE_OF(PIG_cruState, response))
 CHECK (Offset_cru_config, OFFSET_OF(QPIG_cruState, config)==OFFSET_OF(PIG_cruState, config))
 CHECK (Offset_cru_command, OFFSET_OF(QPIG_cruState, command)==OFFSET_OF(PIG_cruState, command))
 CHECK (Offset_cru_response, OFFSET_OF(QPIG_cruState, response)==OFFSET_OF(PIG_cruState, response))
 CHECK (Size_cruState, sizeof(QPIG_cruState)==sizeof(PIG_cruState))
 CHECK (Size_pdu_config, SIZE_OF(QPIG_pduState, config)==SIZE_OF(PIG_pduState, config))
 CHECK (Size_pdu_crates, SIZE_OF(QPIG_pduState, crates)==SIZE_OF(PIG_pduState, crates))
 CHECK (Size_pdu_tems, SIZE_OF(QPIG_pduState, tems)==SIZE_OF(PIG_pduState, tems))
 CHECK (Size_pdu_acd, SIZE_OF(QPIG_pduState, acd)==SIZE_OF(PIG_pduState, acd))
 CHECK (Offset_pdu_config, OFFSET_OF(QPIG_pduState, config)==OFFSET_OF(PIG_pduState, config))
 CHECK (Offset_pdu_crates, OFFSET_OF(QPIG_pduState, crates)==OFFSET_OF(PIG_pduState, crates))
 CHECK (Offset_pdu_tems, OFFSET_OF(QPIG_pduState, tems)==OFFSET_OF(PIG_pduState, tems))
 CHECK (Offset_pdu_acd, OFFSET_OF(QPIG_pduState, acd)==OFFSET_OF(PIG_pduState, acd))
 CHECK (Size_pduState, sizeof(QPIG_pduState)==sizeof(QPIG_pduState))
 CHECK (Size_ebm_be_config, SIZE_OF(QPIG_ebmState, be_config)==SIZE_OF(PIG_ebmState, be_config))
 CHECK (Size_ebm_inputs, SIZE_OF(QPIG_ebmState, inputs)==SIZE_OF(PIG_ebmState, inputs))
 CHECK (Size_ebm_contributors, SIZE_OF(QPIG_ebmState, contributors)==SIZE_OF(PIG_ebmState, contributors))
 CHECK (Size_ebm_destinations, SIZE_OF(QPIG_ebmState, destinations)==SIZE_OF(PIG_ebmState, destinations))
 CHECK (Size_ebm_ssr_header, SIZE_OF(QPIG_ebmState, ssr_header)==SIZE_OF(PIG_ebmState, ssr_header))
 CHECK (Offset_ebm_be_config, OFFSET_OF(QPIG_ebmState, be_config)==OFFSET_OF(PIG_ebmState, be_config))
 CHECK (Offset_ebm_inputs, OFFSET_OF(QPIG_ebmState, inputs)==OFFSET_OF(PIG_ebmState, inputs))
 CHECK (Offset_ebm_contributors, OFFSET_OF(QPIG_ebmState, contributors)==OFFSET_OF(PIG_ebmState, contributors))
 CHECK (Offset_ebm_destinations, OFFSET_OF(QPIG_ebmState, destinations)==OFFSET_OF(PIG_ebmState, destinations))
 CHECK (Offset_ebm_ssr_header, OFFSET_OF(QPIG_ebmState, ssr_header)==OFFSET_OF(PIG_ebmState, ssr_header))
 CHECK (Size_ebmState, sizeof(QPIG_ebmState)==sizeof(PIG_ebmState))
 CHECK (Size_ebm_fe_config_a, SIZE_OF(QPIG_dbState, ebm_fe_config_a)==SIZE_OF(PIG_dbState, ebm_fe_config_a))
 CHECK (Size_ebm_fe_config_b, SIZE_OF(QPIG_dbState, ebm_fe_config_b)==SIZE_OF(PIG_dbState, ebm_fe_config_b))
 CHECK (Size_ebm_timeout, SIZE_OF(QPIG_dbState, ebm_timeout)==SIZE_OF(PIG_dbState, ebm_timeout))
 CHECK (Size_tem_configuration, SIZE_OF(QPIG_dbState, tem_configuration)==SIZE_OF(PIG_dbState, tem_configuration))
 CHECK (Size_ccc_event_timeouts, SIZE_OF(QPIG_dbState, ccc_event_timeouts)==SIZE_OF(PIG_dbState, ccc_event_timeouts))
 CHECK (Size_tcc_event_timeouts, SIZE_OF(QPIG_dbState, tcc_event_timeouts)==SIZE_OF(PIG_dbState, tcc_event_timeouts))
 CHECK (Size_aem_event_timeout, SIZE_OF(QPIG_dbState, aem_event_timeout)==SIZE_OF(PIG_dbState, aem_event_timeout))
 CHECK (Size_aem_response_timeout, SIZE_OF(QPIG_dbState, aem_response_timeout)==SIZE_OF(PIG_dbState, aem_response_timeout))
 CHECK (Size_aem_relocation, SIZE_OF(QPIG_dbState, aem_relocation)==SIZE_OF(PIG_dbState, aem_relocation))
 CHECK (Offset_ebm_fe_config_a, OFFSET_OF(QPIG_dbState, ebm_fe_config_a)==OFFSET_OF(PIG_dbState, ebm_fe_config_a))
 CHECK (Offset_ebm_fe_config_b, OFFSET_OF(QPIG_dbState, ebm_fe_config_b)==OFFSET_OF(PIG_dbState, ebm_fe_config_b))
 CHECK (Offset_ebm_timeout, OFFSET_OF(QPIG_dbState, ebm_timeout)==OFFSET_OF(PIG_dbState, ebm_timeout))
 CHECK (Offset_tem_configuration, OFFSET_OF(QPIG_dbState, tem_configuration)==OFFSET_OF(PIG_dbState, tem_configuration))
 CHECK (Offset_ccc_event_timeouts, OFFSET_OF(QPIG_dbState, ccc_event_timeouts)==OFFSET_OF(PIG_dbState, ccc_event_timeouts))
 CHECK (Offset_tcc_event_timeouts, OFFSET_OF(QPIG_dbState, tcc_event_timeouts)==OFFSET_OF(PIG_dbState, tcc_event_timeouts))
 CHECK (Offset_aem_event_timeout, OFFSET_OF(QPIG_dbState, aem_event_timeout)==OFFSET_OF(PIG_dbState, aem_event_timeout))
 CHECK (Offset_aem_response_timeout, OFFSET_OF(QPIG_dbState, aem_response_timeout)==OFFSET_OF(PIG_dbState, aem_response_timeout))
 CHECK (Offset_aem_relocation, OFFSET_OF(QPIG_dbState, aem_relocation)==OFFSET_OF(PIG_dbState, aem_relocation))
 CHECK (Size_dbState, sizeof(QPIG_dbState)==sizeof(PIG_dbState))
 CHECK (Size_pwr_sib, SIZE_OF(QPIG_pwrState, sib)==SIZE_OF(PIG_pwrState, sib))
 CHECK (Size_pwr_tem, SIZE_OF(QPIG_pwrState, tem)==SIZE_OF(PIG_pwrState, tem))
 CHECK (Size_pwr_tkr, SIZE_OF(QPIG_pwrState, tkr)==SIZE_OF(PIG_pwrState, tkr))
 CHECK (Size_pwr_cal, SIZE_OF(QPIG_pwrState, cal)==SIZE_OF(PIG_pwrState, cal))
 CHECK (Size_pwr_aem, SIZE_OF(QPIG_pwrState, aem)==SIZE_OF(PIG_pwrState, aem))
 CHECK (Size_pwr_acd_hv, SIZE_OF(QPIG_pwrState, acd_hv)==SIZE_OF(PIG_pwrState, acd_hv))
 CHECK (Size_pwr_acd_saa, SIZE_OF(QPIG_pwrState, acd_saa)==SIZE_OF(PIG_pwrState, acd_saa))
 CHECK (Size_pwr_acd_mode, SIZE_OF(QPIG_pwrState, acd_mode)==SIZE_OF(PIG_pwrState, acd_mode))
 CHECK (Size_pwr_acd_stat, SIZE_OF(QPIG_pwrState, acd_stat)==SIZE_OF(PIG_pwrState, acd_stat))
 CHECK (Size_pwr_acd_dac, SIZE_OF(QPIG_pwrState, acd_dac)==SIZE_OF(PIG_pwrState, acd_dac))
 CHECK (Size_pwr_acd_on, SIZE_OF(QPIG_pwrState, acd_on)==SIZE_OF(PIG_pwrState, acd_on))
 CHECK (Size_pwr_cal_on, SIZE_OF(QPIG_pwrState, cal_on)==SIZE_OF(PIG_pwrState, cal_on))
 CHECK (Size_pwr_tkr_on, SIZE_OF(QPIG_pwrState, tkr_on)==SIZE_OF(PIG_pwrState, tkr_on))
 CHECK (Offset_pwr_sib, OFFSET_OF(QPIG_pwrState, sib)==OFFSET_OF(PIG_pwrState, sib))
 CHECK (Offset_pwr_tem, OFFSET_OF(QPIG_pwrState, tem)==OFFSET_OF(PIG_pwrState, tem))
 CHECK (Offset_pwr_tkr, OFFSET_OF(QPIG_pwrState, tkr)==OFFSET_OF(PIG_pwrState, tkr))
 CHECK (Offset_pwr_cal, OFFSET_OF(QPIG_pwrState, cal)==OFFSET_OF(PIG_pwrState, cal))
 CHECK (Offset_pwr_aem, OFFSET_OF(QPIG_pwrState, aem)==OFFSET_OF(PIG_pwrState, aem))
 CHECK (Offset_pwr_acd_hv, OFFSET_OF(QPIG_pwrState, acd_hv)==OFFSET_OF(PIG_pwrState, acd_hv))
 CHECK (Offset_pwr_acd_saa, OFFSET_OF(QPIG_pwrState, acd_saa)==OFFSET_OF(PIG_pwrState, acd_saa))
 CHECK (Offset_pwr_acd_mode, OFFSET_OF(QPIG_pwrState, acd_mode)==OFFSET_OF(PIG_pwrState, acd_mode))
 CHECK (Offset_pwr_acd_stat, OFFSET_OF(QPIG_pwrState, acd_stat)==OFFSET_OF(PIG_pwrState, acd_stat))
 CHECK (Offset_pwr_acd_dac, OFFSET_OF(QPIG_pwrState, acd_dac)==OFFSET_OF(PIG_pwrState, acd_dac))
 CHECK (Offset_pwr_acd_on, OFFSET_OF(QPIG_pwrState, acd_on)==OFFSET_OF(PIG_pwrState, acd_on))
 CHECK (Offset_pwr_cal_on, OFFSET_OF(QPIG_pwrState, cal_on)==OFFSET_OF(PIG_pwrState, cal_on))
 CHECK (Offset_pwr_tkr_on, OFFSET_OF(QPIG_pwrState, tkr_on)==OFFSET_OF(PIG_pwrState, tkr_on))
 CHECK (Size_pwrState, sizeof(QPIG_pwrState)==sizeof(PIG_pwrState))
 CHECK (Size_cru, SIZE_OF(QPIG_state, cru)==SIZE_OF(PIG_state, cru))
 CHECK (Size_pdu, SIZE_OF(QPIG_state, pdu)==SIZE_OF(PIG_state, pdu))
 CHECK (Size_ebm, SIZE_OF(QPIG_state, ebm)==SIZE_OF(PIG_state, ebm))
 CHECK (Size_pdb, SIZE_OF(QPIG_state, pdb)==SIZE_OF(PIG_state, pdb))
 CHECK (Size_pwr, SIZE_OF(QPIG_state, pwr)==SIZE_OF(PIG_state, pwr))
 CHECK (Offset_cru, OFFSET_OF(QPIG_state, cru)==OFFSET_OF(PIG_state, cru))
 CHECK (Offset_pdu, OFFSET_OF(QPIG_state, pdu)==OFFSET_OF(PIG_state, pdu))
 CHECK (Offset_ebm, OFFSET_OF(QPIG_state, ebm)==OFFSET_OF(PIG_state, ebm))
 CHECK (Offset_pdb, OFFSET_OF(QPIG_state, pdb)==OFFSET_OF(PIG_state, pdb))
 CHECK (Offset_pwr, OFFSET_OF(QPIG_state, pwr)==OFFSET_OF(PIG_state, pwr))
 CHECK (Size_state, sizeof(QPIG_state)==sizeof(PIG_state))


Detailed Description

Compile time macros that verify the QPIG and PIG structures match.

Author:
James Swain & Owen Saxton
Id
state_p.h,v 1.4 2011/03/29 20:29:25 saxton Exp

Generated on Tue Mar 29 13:50:42 2011 by  doxygen 1.5.8