RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
analogy_driver.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 University of Bristol, UK
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of the
7  * License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18 
19 #ifndef ANALOGY_DRIVER_H
20 #define ANALOGY_DRIVER_H
21 
22 #include <daq.h>
23 #include <plugin.h>
24 
26  : public Plugin::Object
27  , public DAQ::Driver
28 {
29 public:
31  : DAQ::Driver("analogy") {};
32  virtual ~AnalogyDriver(void);
33 
34  virtual DAQ::Device* createDevice(const std::list<std::string>&);
35 
36 protected:
37  virtual void doLoad(const State&);
38  virtual void doSave(State&) const;
39 
40 private:
41  std::list<AnalogyDevice*> devices;
42 };
43 
44 #endif
virtual void doLoad(const State &)
virtual ~AnalogyDriver(void)
virtual DAQ::Device * createDevice(const std::list< std::string > &)
virtual void doSave(State &) const
DAQ Oriented Classes.
Definition: daq.hpp:37