Specification.h
Go to the documentation of this file.
00001 /*
00002 * Specification.h is a header file for the diagnosis board specifications.
00003 *
00004 * Copyright (c).2012. OWNER: Institute for Software Technology, TU Graz Austria.
00005 * Authors: Safdar Zaman, Gerald Steinbauer. (szaman@ist.tugraz.at, steinbauer@ist.tugraz.at)
00006 * All rights reserved.
00007 *    This program is free software: you can redistribute it and/or modify
00008 *    it under the terms of the GNU General Public License as published by
00009 *    the Free Software Foundation, either version 3 of the License, or
00010 *    (at your option) any later version.
00011 *
00012 *    This program is distributed in the hope that it will be useful,
00013 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 *    GNU General Public License for more details.
00016 *
00017 *    You should have received a copy of the GNU General Public License
00018 *    along with this program.  If not, see <http://www.gnu.org/licenses/>.
00019 */
00020 #ifndef _SPECIFICATION_
00021 #define _SPECIFICATION_
00022 #include <stdlib.h>
00023 class Specification
00024 {
00025 public:
00026     Specification();
00027     ~Specification();
00028    int getChannel();
00029    float getCurrent();
00030    float getVoltage();
00031    void setChannel(int);
00032    void setCurrent(float);
00033    void setVoltage(float);
00034    
00035 private:
00036    int channel;
00037    float mx_current;
00038    float mx_voltage;
00039 };
00040 #endif //_SPECIFICATION_


tug_ist_diagnosis_board
Author(s): Safdar Zaman, Gerald Steinbauer
autogenerated on Mon Jan 6 2014 11:51:23