GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GEO_DB / V2-0-1 > geo_dbprint / rad750


Interface   Data Structures   File List   Data Fields   Globals  

geo_dbprint.c File Reference

Prints the geometry used by the filter program. More...

#include <stdlib.h>
#include <stdio.h>
#include <CDM/CDM_pubdefs.h>
#include <GEO_DB/GEO_DB_schema.h>
#include <GEO_DB/GEO_DB_print.h>

Functions

int geo_dbprint (void)
 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 GEO_DB.


Detailed Description

Prints the geometry used by the filter program.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: geo_dbprint.c,v 1.2 2011/03/25 22:04:45 apw Exp $

This is a simply program to check the geometry. It mainly useful when developing new geometries and during debugging of those sections of the filter program that depend on the geometry.
To run the program
    $ geo_dbprint <geometry>

      where
      geometry  The full name of the CDM geometry shareable

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

Function Documentation

int geo_dbprint ( void   ) 

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

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

Referenced by main().

int main ( int  argc,
char **  argv 
)

Main program to print the contents of a GEO_DB.

Parameters:
argc The argument count
argv The vector of arguments
Usage
      $ geo_dbprint $CMX_B_GGF/sun-gcc/geo_db_data/libgeo_db_data.so

References geo_dbprint(), and reportUsage().


Generated on Wed Nov 21 19:04:25 2012 by  doxygen 1.5.8