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 |
Typedefs | |
typedef bpmconf | bpmconf_t |
typedef bpmsignal | bpmsignal_t |
typedef bpmcalib | bpmcalib_t |
typedef bpmproc | bpmproc_t |
typedef beamconf | beamconf_t |
Enumerations | |
enum | bpmtype_t { diode, monopole, dipole } |
enum | bpmpol_t { horiz, vert } |
enum | bpmphase_t { randomised, locked } |
enum | rffiltertype_t { nofilter, butterworth_low_pass, butterworth_band_pass, butterworth_high_pass } |
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 |