GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GRBP_DB / V1-0-4 > grbp_db_print / rhel4-32


Interface   Data Structures   File List   Data Fields   Globals  

grbp_db_print.c File Reference

Prints the GRB configuration. More...

#include <CDM/CDM_pubdefs.h>
#include <GRBP_DB/GRBP_DB_clientSchema.h>
#include <GRBP_DB/GRBP_DB_serverSchema.h>
#include <GRBP_DB/GRBP_DB_print.h>
#include <stdio.h>

Functions

int grbp_db_print (CDM_Database *cdb)
 Acts as both the business end for host platforms or the entry point for embedded systems.
static void reportUsage (void)
 Prints a terse message on usage.
int main (int argc, char **argv)
 Main program to print the contents of a GRBP_DB.


Detailed Description

Prints the GRB configuration.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: grbp_db_print.c,v 1.2 2011/03/26 00:58:33 apw Exp $

This is a simply program to check the configuration. It mainly useful when developing new configurations.
To run the program
    $ grbp_db_print <grbp_db>

      where
      grbp_db  The full name of the CDM GRBP_DB shareable

This works at for both hosts and VXWORKS embedded systems. It assumes tha the DB instance is 0.

Function Documentation

int grbp_db_print ( CDM_Database *  cdb  ) 

Acts as both the business end for host platforms or the entry point for embedded systems.

Warning:
Currently this program assumes that the CDM is instance 0.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Main program to print the contents of a GRBP_DB.

Parameters:
argc The argument count
argv The vector of arguments
Usage
      $ grbp_dbprint $CMX_B_GRBP_DB/sun-gcc/grbp_db_client/grbp_db_client.so

References grbp_db_print(), and reportUsage().


Generated on Fri Sep 30 18:25:14 2011 by  doxygen 1.5.8