GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QPIG / V2-0-2 > qpig / rhel5-64
#include <QPIG/state.h>
#include <LSF/LSF.h>
Typedefs | |
typedef struct _QPIG | QPIG |
Data type for QPIG context block. | |
Functions | |
QPIG * | QPIG_alloc (void) |
Allocate and construct the QPIG context block. | |
QPIG * | QPIG_construct (QPIG *qpig, void *prm) |
Construct (initialize) the QPIG context block. | |
void | QPIG_destruct (QPIG *qpig) |
Destroy the QPIG context block. | |
unsigned int | QPIG_sizeof (void *prm) |
Return the size, in bytes, of the QPIG context block. | |
const QPIG_state * | QPIG_stateGet (const QPIG *qpig) |
Return the address of the QPIG register state data. | |
void | QPIG_updateAtDatagram (QPIG *qpig, const LSF_datagram *dgm) |
Update the register state information in the QPIG context. | |
int | QPIG_versionGet (const QPIG *qpig) |
Return the version of the QPIG register state data. |
QPIG* QPIG_alloc | ( | void | ) |
Allocate and construct the QPIG context block.
References QPIG_construct().
Construct (initialize) the QPIG context block.
qpig | The block to initialize; if specified as NULL, one will be allocated. | |
prm | A run-time set parameter used to stylize the configuration (not used) |
References _QPIG::free, QPIG_constructState(), QPIG_sizeof(), _QPIG::state, and _QPIG::version.
Referenced by QPIG_alloc().
void QPIG_destruct | ( | QPIG * | qpig | ) |
unsigned int QPIG_sizeof | ( | void * | prm | ) |
Return the size, in bytes, of the QPIG context block.
prm | A run-time set parameter used to stylize the configuration |
Referenced by QPIG_construct().
const QPIG_state* QPIG_stateGet | ( | const QPIG * | qpig | ) |
Return the address of the QPIG register state data.
This routine is just an accessor to keep the structure of QPIG private.
qpig | The QPIG context handle |
References _QPIG::state.
void QPIG_updateAtDatagram | ( | QPIG * | qpig, | |
const LSF_datagram * | dgm | |||
) |
Update the register state information in the QPIG context.
qpig | The QPIG context handle | |
dgm | The PIG register state datagram |
References QPIG_recoverState(), _QPIG::state, and _QPIG::version.
int QPIG_versionGet | ( | const QPIG * | qpig | ) |
Return the version of the QPIG register state data.
This routine is just an accessor to keep the structure of QPIG private.
qpig | The QPIG context handle |
References _QPIG::version.