bpminterface/bpm_interface.h File Reference


Detailed Description

Front end interface structure definitions and handlers.

This header contains the front-end interface structures and handlers for libbpm. They define a set of user friendly structures like bpmconf_t, bpmcalib_t, beamconf_t etc... to work with the bpm data.

Definition in file bpm_interface.h.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <bpm/bpm_defs.h>

Include dependency graph for bpm_interface.h:

Go to the source code of this file.

Data Structures

struct  bpmconf
struct  bpmsignal
struct  bpmcalib
struct  bpmproc
struct  beamconf
struct  bpmmode
struct  rfmodel

Defines

#define NMAX_MODES

Typedefs

typedef bpmconf bpmconf_t
typedef bpmsignal bpmsignal_t
typedef bpmcalib bpmcalib_t
typedef bpmproc bpmproc_t
typedef beamconf beamconf_t
typedef bpmmode bpmmode_t
typedef rfmodel rfmodel_t

Enumerations

enum  bpmtype_t { diode, monopole, dipole }
enum  bpmpol_t { horiz, vert }
enum  bpmphase_t { randomised, locked }

Functions

EXTERN int load_bpmconf (const char *fname, bpmconf_t **conf, int *num_conf)
EXTERN int get_header (FILE *file, double *version, int *num_structs)
EXTERN int load_struct (FILE *file, char ***arg_list, char ***val_list, int *num_args)
EXTERN int save_signals (char *fname, bpmsignal_t *sigs, int num_evts)
EXTERN int load_signals (char *fname, bpmsignal_t **sigs)

Variables

EXTERN int bpm_verbose


Generated on Thu Jan 10 10:18:12 2008 for libbpm by  doxygen 1.5.1