GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
QCFG / V0-0-2
Constituent: qcfg     Tag: sun-gcc
Interface Data Structures File List Data Fields Globals
create.h File Reference
Configuration binary file creation. More...
#include "RIM/rim.h"
#include <stdio.h>
Include dependency graph for create.h:
This graph shows which files directly or indirectly include this file:
|
Functions |
unsigned | QCFG_create (RIM *rim, unsigned filter, const char *stub) |
| Creates a set of binary configuration files based on the contents of the imm, using lcm as the first in a sequence of file IDs.
|
unsigned | QCFG_createMap (RIM_map *map, const char *filename) |
| Write out the data of a LATC_map structure.
|
Detailed Description
Configuration binary file creation.
- Author:
- James Swain -- jswain@slac.stanford.edu
Function Documentation
unsigned QCFG_create |
( |
RIM * |
rim, |
|
|
unsigned |
filter, |
|
|
const char * |
stub |
|
) |
|
|
|
Creates a set of binary configuration files based on the contents of the imm, using lcm as the first in a sequence of file IDs.
- Parameters:
-
| rim | RIMstructure used as the basis of the binary configuration |
| stub | Stub to use as a basis for the output filenames |
| filter | Bitmask of LAT component files to create |
- Return values:
-
| RIM_SUCCESS | if all goes well |
| RIM_FILE_WRITE | if one of the file write operations failed |
| RIM_FILE_CLOSE | if one of the files failed to close |
|
unsigned QCFG_createMap |
( |
RIM_map * |
map, |
|
|
const char * |
filename |
|
) |
|
|
|
Write out the data of a LATC_map structure.
- Parameters:
-
| map | Pointer to the LATC_map whose data should be written to file |
| filename | Name of the destination file |
- Return values:
-
| RIM_SUCCESS | if all goes well |
| RIM_FILE_WRITE | if writing to the file failed |
| RIM_FILE_OPEN | if the file fails to open |
| RIM_FILE_CLOSE | if the file close failed |
|
Generated on Wed May 3 23:13:42 2006 by
1.4.4