GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSP / V0-2-1 > qsp / linux-gcc
Typedefs | |
typedef struct _QSP_templates | QSP_templates |
typedef struct _QFCP_cache | QFCP_cache |
typedef struct _QFC_cache | QFC_cache |
typedef struct _QFC_file | QFC_file |
typedef struct _QFR_fileCtx | QFR_fileCtx |
Functions | |
int | QFCP_sizeof (int depth) |
Returns the size, in bytes, of a standard physics file cache. | |
void * | QFCP_construct (QFCP_cache *cache, QFR_fileCtx *qfr, const QSP_templates *templates, int depth) |
Constructs a handler cache of the requested depth. | |
void | QFCP_destruct (QFCP_cache *cache) |
Destroys the cache. | |
QFC_cache * | QFCP_sbsLocate (QFCP_cache *cache) |
Returns a pointer to the SBS's (Secondary Boot Script) cache. | |
QFC_cache * | QFCP_latcLocate (QFCP_cache *cache) |
Returns a pointer to the LATc (LAT hardware configuration) cache. | |
QFC_cache * | QFCP_lpaLocate (QFCP_cache *cache) |
Returns a pointer to the LPA's cache. | |
QFC_cache * | QFCP_masterLocate (QFCP_cache *cache, unsigned int hid) |
Returns a pointer to the requested handler's master cache. | |
QFC_cache * | QFCP_cfgLocate (QFCP_cache *cache, unsigned int hid, unsigned int cid) |
Returns a pointer to the requested handler's configuration cache. | |
int | QFCP_sbsResolve (QFCP_cache *cache, QFC_file *file, unsigned int key) |
Resolves the reference for the SBS (Secondary Boot Script) file. | |
int | QFCP_latcResolve (QFCP_cache *cache, QFC_file *file, unsigned int key) |
Resolves the reference for the LATc (LAT hardware configuration file. | |
int | QFCP_lpaResolve (QFCP_cache *cache, QFC_file *file, unsigned int key) |
Resolves the reference for the LPA (LAT Physics Analysis) file. | |
int | QFCP_masterResolve (QFCP_cache *cache, QFC_file *file, unsigned int key, unsigned int hid) |
Resolves the reference for the requested handler's master file. | |
int | QFCP_cfgResolve (QFCP_cache *cache, QFC_file *file, unsigned int key, unsigned int hid, unsigned int cid) |
Resolves the reference for the requested handler's configuration file. |
CVS $Id: QFCP_cache.h,v 1.1 2008/06/09 20:01:30 russell Exp $
QFC_cache* QFCP_cfgLocate | ( | QFCP_cache * | cache, | |
unsigned int | hid, | |||
unsigned int | cid | |||
) |
Returns a pointer to the requested handler's configuration cache.
cache | The file cache | |
hid | The handler identifier | |
cid | The configuration identifier |
int QFCP_cfgResolve | ( | QFCP_cache * | cache, | |
QFC_file * | file, | |||
unsigned int | key, | |||
unsigned int | hid, | |||
unsigned int | cid | |||
) |
Resolves the reference for the requested handler's configuration file.
== | 0, if successful | |
== | -1, if reference could not be resolved |
cache | The file cache | |
file | The file structure to receive the resolved file | |
key | The file key | |
hid | The handler identifier | |
cid | The configuration identifier |
void* QFCP_construct | ( | QFCP_cache * | cache, | |
QFR_fileCtx * | qfr, | |||
const QSP_templates * | templates, | |||
int | depth | |||
) |
Constructs a handler cache of the requested depth.
cache | The memory in which the cache will be constructed. It is assumed that this memory has been properly sized using QFCP_sizeof. | |
qfr | The file resolution context. This contains things like the FMX handle. | |
templates | The set of template file names. This is used when the resolving key is a CMX style key. This may be NULL, in which case the standard default names will be used. | |
depth | The depth of the cache |
void QFCP_destruct | ( | QFCP_cache * | cache | ) |
Destroys the cache.
cache | The cache to destroy |
QFC_cache* QFCP_latcLocate | ( | QFCP_cache * | cache | ) |
Returns a pointer to the LATc (LAT hardware configuration) cache.
cache | The file cache |
int QFCP_latcResolve | ( | QFCP_cache * | cache, | |
QFC_file * | file, | |||
unsigned int | key | |||
) |
Resolves the reference for the LATc (LAT hardware configuration file.
== | 0, if successful | |
== | -1, if reference could not be resolved |
cache | The file cache | |
file | The file structure to receive the resolved file | |
key | The file key |
QFC_cache* QFCP_lpaLocate | ( | QFCP_cache * | cache | ) |
Returns a pointer to the LPA's cache.
cache | The file cache |
int QFCP_lpaResolve | ( | QFCP_cache * | cache, | |
QFC_file * | file, | |||
unsigned int | key | |||
) |
Resolves the reference for the LPA (LAT Physics Analysis) file.
== | 0, if successful | |
== | -1, if reference could not be resolved |
cache | The file cache | |
file | The file structure to receive the resolved file | |
key | The file key |
QFC_cache* QFCP_masterLocate | ( | QFCP_cache * | cache, | |
unsigned int | hid | |||
) |
Returns a pointer to the requested handler's master cache.
cache | The file cache | |
hid | The handler identifier |
int QFCP_masterResolve | ( | QFCP_cache * | cache, | |
QFC_file * | file, | |||
unsigned int | key, | |||
unsigned int | hid | |||
) |
Resolves the reference for the requested handler's master file.
== | 0, if successful | |
== | -1, if reference could not be resolved |
cache | The file cache | |
file | The file structure to receive the resolved file | |
key | The file key | |
hid | The handler identifier |
QFC_cache* QFCP_sbsLocate | ( | QFCP_cache * | cache | ) |
Returns a pointer to the SBS's (Secondary Boot Script) cache.
cache | The file cache |
int QFCP_sbsResolve | ( | QFCP_cache * | cache, | |
QFC_file * | file, | |||
unsigned int | key | |||
) |
Resolves the reference for the SBS (Secondary Boot Script) file.
== | 0, if successful | |
== | -1, if reference could not be resolved |
cache | The file cache | |
file | The file structure to receive the resolved file | |
key | The file key |
int QFCP_sizeof | ( | int | depth | ) |
Returns the size, in bytes, of a standard physics file cache.
depth | The depth of the cache. This determines how many versions of each file may be cached at any given time. |