GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QPIG / V1-0-2

Constituent: qpig     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QPIG.c File Reference

Manages the handling of power register state datagrams. More...

#include "QPIG_p.h"
#include "QPIG/QPIG.h"
#include "QPIG/state.h"
#include "LSF/LSF.h"
#include "LSF/LSF_ids.h"
#include "LSF/LSF_scan.h"
#include <stdio.h>
#include <stdlib.h>

Include dependency graph for QPIG.c:


Functions

QPIG * QPIG_alloc (void)
 Allocates and constructs the QPIG handle.
size_t QPIG_sizeof (void *prm)
 Returns the size, in bytes, of the handle for updating the standard event meta-information.
QPIG * QPIG_construct (QPIG *qpig, void *prm)
 Construct (initializes) the handle for updating the standard event meta-information.
void QPIG_destruct (QPIG *qpig)
 Destroy the QPIG handle.
void QPIG_updateAtDatagram (QPIG *qpig, const LSF_datagram *dgm)
 Updates the run oriented information in the event context using the information from the event datagram.
const QPIG_stateQPIG_appStateGet (const QPIG *qpig)
 Return a pointer to the public QPIG application specific context block.

Detailed Description

Manages the handling of power register state datagrams.

Author:
jswain@slac.stanford.edu

Function Documentation

QPIG* QPIG_alloc void   ) 
 

Allocates and constructs the QPIG handle.

Returns:
A pointer to the allocated and constructed QPIG handle

const QPIG_state* QPIG_appStateGet const QPIG *  qpig  ) 
 

Return a pointer to the public QPIG application specific context block.

Returns:
A pointer to the QPIG application specific context block
Parameters:
qpig The calibration event handle
This routine is just an accessor to keep the structure of QPIG private.

QPIG* QPIG_construct QPIG *  qpig,
void *  prm
 

Construct (initializes) the handle for updating the standard event meta-information.

Returns:
The QSEP context structure
Parameters:
qpig The handle to initialize, if specified as NULL, one will be allocated
prm A run-time set parameter used to stylize the configuration

void QPIG_destruct QPIG *  qpig  ) 
 

Destroy the QPIG handle.

Parameters:
qpig Pointer to the QPIG handle to delete.

size_t QPIG_sizeof void *  prm  ) 
 

Returns the size, in bytes, of the handle for updating the standard event meta-information.

Returns:
The size, in bytes, of the handle for updating the standard event meta-information
Parameters:
prm A run-time set parameter used to stylize the configuration

void QPIG_updateAtDatagram QPIG *  qpig,
const LSF_datagram *  dgm
 

Updates the run oriented information in the event context using the information from the event datagram.

Parameters:
qpig The calibration event handle
dgm The event datagram


Generated on Wed Mar 28 01:39:46 2007 by  doxygen 1.4.4