GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-4-1 > qse / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

QDF_exc.h File Reference

Interface to the GEM decoding exception block. More...

#include <setjmp.h>

Defines

#define QDF_EXC_NORETURN
 With GCC compilers, this defines the noreturn attribute to a routine. For non-GCC compilers, this macro is defined as a NOP.
#define _QDF_excEstablish(exc)   setjmp ((void *)exc)
 Establishes the exception handling point and context.

Typedefs

typedef struct _QDF_exc QDF_exc

Functions

int QDF_excSizeof (void)
 Returns the size, in bytes, of the a QDF_exc structure.
void * QDF_excConstruct (QDF_exc *exc)
 One time initialization of a QDE_exc structure.
void QDF_excDeclare (QDF_exc *exc, unsigned int status) QDF_EXC_NORETURN
 Declares an exception.


Detailed Description

Interface to the GEM decoding exception block.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QDF_exc.h,v 1.2 2006/11/10 22:52:01 russell Exp $

Define Documentation

#define _QDF_excEstablish ( exc   )     setjmp ((void *)exc)

Establishes the exception handling point and context.

Return values:
0,on establishment
!= on invocation
Parameters:
exc The exception handling context
Note:
Due to the wasy setjmp is implemented, this must be an macro


Function Documentation

void* QDF_excConstruct ( QDF_exc exc  ) 

One time initialization of a QDE_exc structure.

Returns:
The parameter exc
Parameters:
exc The QSE_exc structure to initialize

void QDF_excDeclare ( QDF_exc exc,
unsigned int  status 
)

Declares an exception.

Parameters:
exc The exception handling context
status The status. This must be non-zero and is reported as the return value of QDF_excEstablish.

References _QDF_exc::env.

Referenced by acd_ped_style_0(), acd_ped_style_1(), acd_ped_style_2(), acd_ped_style_3(), acd_std_unpack(), acd_std_unpack_pats(), cal_ped1_style_1(), cal_ped1_style_2(), cal_ped1_style_3(), cal_ped4_style_1(), cal_ped4_style_2(), cal_ped4_style_3(), cal_std_unpack_phas_unknown(), calStd4Decode(), find_split_point(), QDF_calStd1Decode(), QDF_tkrErrDecode(), and tkr_std_unpack_tots().

int QDF_excSizeof ( void   ) 

Returns the size, in bytes, of the a QDF_exc structure.

Returns:
The size, in bytes, of the a QDF_exc structure


Generated on Fri Nov 30 11:36:47 2012 by  doxygen 1.5.8