GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QLSM / V2-0-1 > qlsmcheck / rhel5-64


Interface   Data Structures   File List   Data Fields   Globals  

QLSM.h File Reference

Science defs for LSM (Lat Spacesraft Messages). More...


Typedefs

typedef struct _LSF_datagram LSF_datagram
typedef struct _LSF_contribution LSF_contribution
typedef struct
_LSF_contribution_hdr 
LSF_contribution_hdr
typedef struct _QLSM_anc QLSM_anc
 Pointer to buff used by QLSM_ancXxxx(), size determined by QLSM_sizeof().
typedef struct _QLSM_att QLSM_att
 Pointer to buff used by QLSM_attXxxx(), size determined by QLSM_sizeof().
typedef struct _QLSM_tt QLSM_tt
 Pointer to buff used by QLSM_ttXxxx(), size determined by QLSM_sizeof().

Enumerations

enum  QLSM_TYPEID {
  QLSM_TYPEID_UNKNOWN = -1,
  QLSM_TYPEID_ATT = 1,
  QLSM_TYPEID_ANC = 2,
  QLSM_TYPEID_TT = 3
}
 type_id used in LSF contributor for QLSM, also returned from QLSM_typeof() More...
enum  QLSM_STATUS {
  QLSM_OK = 0,
  QLSM_ERR_UNKNOWN_DG_TYPEID = -2,
  QLSM_ERR_UNKNOWN_DG_VER = -3,
  QLSM_ERR_UNKNOWN_CTB_VER = -4,
  QLSM_ERR_BAD_CTB_LEN32 = -5,
  QLSM_ERR_UNKNOWN_CTB_TYPEID = -6,
  QLSM_ERR_WRONG_TYPEID = -7
}
 QLSM errors returned by QLSM_xxxExpand. More...

Functions

unsigned int QLSM_sizeof ()
QLSM_TYPEID QLSM_typeof (const LSF_contribution *ctb)
QLSM_STATUS QLSM_ancExpand (QLSM_anc *anc, const LSF_contribution *ctb)
QLSM_STATUS QLSM_attExpand (QLSM_att *att, const LSF_contribution *ctb)
QLSM_STATUS QLSM_ttExpand (QLSM_tt *ttPtr, const LSF_contribution *ctb)
LSF_contribution_hdr * QLSM_swapCtbHdr (LSF_contribution_hdr *ctbDsc, const LSF_contribution *ctbSrc)
const char * QLSM_errToStr (QLSM_STATUS status)
unsigned int QLSM_ancGetSec (const QLSM_anc *anc)
unsigned int QLSM_ancGetSub (const QLSM_anc *anc)
const float * QLSM_ancGetPos (const QLSM_anc *anc)
const float * QLSM_ancGetVel (const QLSM_anc *anc)
unsigned int QLSM_ancGetMode (const QLSM_anc *anc)
unsigned int QLSM_ancGetSsr (const QLSM_anc *anc)
unsigned int QLSM_ancGetFlags (const QLSM_anc *anc)
void QLSM_ancPrint (const QLSM_anc *anc)
unsigned int QLSM_attGetSec (const QLSM_att *att)
unsigned int QLSM_attGetSub (const QLSM_att *att)
const double * QLSM_attGetQuat (const QLSM_att *att)
const float * QLSM_attGetAvel (const QLSM_att *att)
void QLSM_attPrint (const QLSM_att *att)
unsigned int QLSM_ttGetTimetone (const QLSM_tt *tt)
unsigned int QLSM_ttGetFlags (const QLSM_tt *tt)
void QLSM_ttPrint (const QLSM_tt *tt)
QLSM_STATUS QLSM_printDatagram (const LSF_datagram *dgm)
QLSM_STATUS QLSM_printCtb (const LSF_contribution *ctb)


Detailed Description

Science defs for LSM (Lat Spacesraft Messages).

Author:
Ed Bacho -- ebacho@slac.stanford.edu

JJRussell -- russell@slac.stanford.edu This module handles the definitions of structures that are output as science data for the LSM package over the SSR.

   CVS $Id: QLSM.h,v 1.7 2008/09/20 00:46:31 russell Exp $
  

Enumeration Type Documentation

QLSM errors returned by QLSM_xxxExpand.

Enumerator:
QLSM_OK  Success
QLSM_ERR_UNKNOWN_DG_TYPEID  LSF datagram header has typeid which is not in LSF/LSF_ids.h
QLSM_ERR_UNKNOWN_DG_VER  LSF datagram header has an unknown version number
QLSM_ERR_UNKNOWN_CTB_VER  LSF contributor header has unknown version number
QLSM_ERR_BAD_CTB_LEN32  LSF contributor has an incorrect length for the packet
QLSM_ERR_UNKNOWN_CTB_TYPEID  LSF contributor header has typeid which is not in QLSM_TYPEID
QLSM_ERR_WRONG_TYPEID  Typeid of data does not match the QLSM_xxxGetXxx

type_id used in LSF contributor for QLSM, also returned from QLSM_typeof()

Enumerator:
QLSM_TYPEID_UNKNOWN  Unknown type
QLSM_TYPEID_ATT  Attitude record
QLSM_TYPEID_ANC  Ancillary record
QLSM_TYPEID_TT  Timetone record


Generated on Tue Nov 29 19:43:59 2011 by  doxygen 1.5.8