Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

devices.h

Go to the documentation of this file.
00001 /*
00002  * MAX : devices.h.test, Sam Dez 29 20:18:28 CET 2001 -sg
00003  *
00004  * This file is part of Max data acquisition software
00005  * Copyright (C) 1998 Christian Rosen
00006  *
00007  * Max is free software; you can redistribute it and/or modify it
00008  * under the terms of the version 2 of GNU General Public License as
00009  * published by the Free Software Foundation.
00010  *
00011  * Max is distributed in the hope that it will be useful, but WITHOUT
00012  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00013  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00014  * for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * (see the file COPYING) in this directory; if not, write to the
00018  * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019  *
00020  */
00021 
00022 #ifndef DEVICES_H
00023 #define DEVICES_H
00024 #include "list.hh"   //this is class that contains the device parameter database
00025 #include "sched.hh"  //this class does the datastorage before it is send to client 
00026 
00027 int adc_init   (List *, Scheduler *);
00028 int adc        (List *, Scheduler *);
00029 int adc_pre    (List *, Scheduler *);
00030 
00031 int laser_init (List *, Scheduler *);
00032 int laser_pre (List *, Scheduler *);
00033 int laser (List *, Scheduler *);
00034 int laser_close (List *, Scheduler *);
00035 
00036 #define NUMBER_DEVICES 1
00037 
00038 int (*Function_List      [NUMBER_DEVICES]) (List *, Scheduler *)  = {
00039 laser
00040 };
00041 
00042 int (*Pre_Function_List  [NUMBER_DEVICES]) (List *, Scheduler *)  = {
00043 laser_pre
00044 };
00045 
00046 int (*Init_Function_List [NUMBER_DEVICES]) (List *, Scheduler *)  = {
00047 laser_init
00048 };
00049 
00050 int (*Close_Function_List[NUMBER_DEVICES]) (List *, Scheduler *)  = {
00051 laser_close
00052 };
00053 
00054 #endif
00055 

Generated at Mon Sep 2 18:21:03 2002 for MAX by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001