GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > XFC_DB / V1-1-0

Constituent: mfc_db_master     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

MFC_DB_master_macros.h File Reference

Defines the macros used to fill the non-physics parameters need to build the MIP Event Filter master configuration database. More...

#include "EFC_DB/EFC_DB_schema.h"
#include "EFC_DB/EFC_DB_schema_macros.h"
#include "XFC_DB/MFC_DB_schema.h"
#include "XFC_DB/MFC_DB_instance.h"

Include dependency graph for MFC_DB_master_macros.h:

This graph shows which files directly or indirectly include this file:


Defines

#define Name   MFC_DB
#define Constructor   "MFC_constructServicesGet"
#define SchemaId   MFC_DB_SCHEMA
#define SchemaName   MFC_DB_master
#define CDM_XFC_DB_MFC_DB_MASTER_SCHEMA   SchemaId
 CDB database schema ID.
#define CDM_XFC_DB_MFC_DB_MASTER_INSTANCE   MFC_DB_INSTANCE_K_MASTER
 CDB database instance ID.
#define CDM_XFC_DB_MFC_DB_MASTER_VERSION   MFC_DB_VERSION
 CDB database version.
#define CDM_XFC_DB_MFC_DB_MASTER_HANDLE   SchemaName
 CDB database data handle.

Detailed Description

Defines the macros used to fill the non-physics parameters need to build the MIP Event Filter master configuration database.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: MFC_DB_master_macros.h,v 1.1 2007/06/26 18:53:00 jgt Exp $

This file is one of two files needed to build a EFC_DB_Schema. This file isolates information needed solely to satisfy the mechanics of building MFC database. Once defined, the information in this file will likely never change. On the other hand, the second of these two files, MFC_DB_master.h, contains the physics information and is very likely to evolve.

To define the EFC_DB_Schema for MFC_DB, in MFC_DB_master.h, the user first defines all the symbols needed by EFC_DB_master_macros, then, as the last line in the file drops an include of this file. That will generate the necessary code to make the CDM database.

Note:
If the C preprocessor were slightly more powerful, EFC_DB_master_macros could have provided the necessary templates and there would be no need for this file. But, alas, I could not trick the C preprocessor into automatically building this information. So the best solution was to isolate this computer geek information from the physics information which is in MFC_DB_master.h.

Generated on Tue Jul 10 04:33:33 2007 by  doxygen 1.4.4