GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCBD / V1-5-0 > lcbd / rad750
#include "LCBD/LCBR.h"
#include "LCBD/LATP.h"
#include "LCBD/LCB_cr.h"
#include <stdio.h>
Functions | |
| unsigned int | LCBR_process (const LCB_ri *ri, const LCB_ri *end, LCBR_processor rtn, void *prm) |
| Executes the user specified handler for each result item in the range ri to end. | |
| const LCB_ri * | LCBR_check (const LCB_ri *ri, const LCB_ri *end) |
| Checks the specified range of result items for errors. | |
| unsigned int | LCBR_error_get (const LCB_ri *ri) |
| Returns the 16-bit error word of ri. | |
| static unsigned int | show (void *prm, const LCB_ri *ri) |
| Shows (prints) a single result item. | |
| void | LCBR_show (unsigned int options, const LCB_ri *beg, const LCB_ri *end) |
| Dumps the result items to stdout. | |
CVS $Id
Checks the specified range of result items for errors.
If anything of than a pointer to end is returned, then an error in the result list has occurred. There are two offending conditions
The low 2 bits of the returned pointer contain the error syndrome. Currently only these two cases are defined
| unsigned int LCBR_error_get | ( | const LCB_ri * | ri | ) |
Returns the 16-bit error word of ri.
| ri | Pointer to result item structure |
| unsigned int LCBR_process | ( | const LCB_ri * | ri, | |
| const LCB_ri * | end, | |||
| LCBR_processor | rtn, | |||
| void * | prm | |||
| ) |
Executes the user specified handler for each result item in the range ri to end.
| ri | The first result item to process | |
| end | One past the last result item to process | |
| rtn | User provided callback routine to process one item | |
| prm | User provided parameter passed to rtn |
Dumps the result items to stdout.
| options | Show options | |
| beg | Pointer to the first result descriptor to show | |
| end | Pointer to one past the lst result descriptor to show |
| static unsigned int show | ( | void * | prm, | |
| const LCB_ri * | ri | |||
| ) | [static] |
Shows (prints) a single result item.
| prm | Arbitrary user parameter, unused | |
| ri | Pointer to result item |
1.5.3