32#ifndef NIDAS_SHORT_FILTERS_KERNEL_H
33#define NIDAS_SHORT_FILTERS_KERNEL_H
43typedef struct short_sample
68struct short_filter_data {
73 const char* deviceName;
111typedef void* (*shortfilt_init_method)(void);
120typedef int (*shortfilt_config_method)(
struct short_filter_data* fdata,
121 const void* cfg,
int nbcfg);
132typedef int (*shortfilt_filter_method)(
void* obj,
138typedef void (*shortfilt_cleanup_method)(
void* obj);
149struct pickoff_filter_config
156struct boxcar_filter_config
167struct timeavg_filter_config
175struct short_filter_methods {
176 shortfilt_init_method init;
177 shortfilt_config_method config;
178 shortfilt_filter_method filter;
179 shortfilt_cleanup_method cleanup;
183struct short_filter_info {
184 shortfilt_init_method finit;
185 shortfilt_config_method fconfig;
186 shortfilt_filter_method filter;
187 shortfilt_cleanup_method fcleanup;
188 struct short_filter_data data;
struct short_filter_methods get_short_filter_methods(enum nidas_short_filter which)
Return structure of pointers to the methods for a given filter.
Definition short_filters.c:415
nidas_short_filter
Enumeration of supported filter types.
Definition short_filters.h:39
static float rate
Definition sing.cc:53
unsigned int dsm_sample_length_t
length of data portion of sample.
Definition types.h:51
int dsm_sample_time_t
Depending on the module, either tenths of milliseconds, or milliseconds since 00:00 UTC today.
Definition types.h:48