Debian Codegraph @

HercConfiguration/VisualizedDeviceEntry.h

raw symbols SCIP
1 /*
2 * File: VisualizedDeviceEntry.h
3 *
4 * Author: Jacob Dekel
5 * Created on: Aug 7, 2009
6 *
7 * Copyright (c) 2009-2013 Jacob Dekel
8 * $Id$
9 *
10 * This is the base class for all configuration device entries
11 * This program is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23 *
24 */
25
26 #ifndef DEVICEENTRY_H_
27 #define DEVICEENTRY_H_cxx . . $ `HercConfiguration/VisualizedDeviceEntry.h:27:9`!
28
29 #include "DeviceTypes.h"cxx . . $ `<file>/HercConfiguration/DeviceTypes.h`/
30
31 #include <QPixmap>
32 #include <QIcon>
33 #include <QStandardItem>
34 #include <string>
35
36 class VisualizedDeviceEntrycxx . . $ VisualizedDeviceEntry#
37 {
38 public:
39 VisualizedDeviceEntrycxx . . $ VisualizedDeviceEntry#VisualizedDeviceEntry(8e755de9e6fc2093).(int number, DeviceTypescxx . . $ DeviceTypes#::Typecxx . . $ DeviceTypes#Type# type, const stdcxx . . $ std/::stringcxx . . $ std/string#& definition);
40 VisualizedDeviceEntrycxx . . $ VisualizedDeviceEntry#VisualizedDeviceEntry(49f6e7a06ebc5aa8).();
41 virtual ~cxx . . $ VisualizedDeviceEntry#`~VisualizedDeviceEntry`(49f6e7a06ebc5aa8).VisualizedDeviceEntrycxx . . $ VisualizedDeviceEntry#();
42
43 inline int getDeviceNumbercxx . . $ VisualizedDeviceEntry#getDeviceNumber(b126dc7c1de90089).(){ return mNumbercxx . . $ VisualizedDeviceEntry#mNumber.; }
44 inline int getLineNumbercxx . . $ VisualizedDeviceEntry#getLineNumber(b126dc7c1de90089).(){ return mLinecxx . . $ VisualizedDeviceEntry#mLine.; }
45 inline DeviceTypescxx . . $ DeviceTypes#::Typecxx . . $ DeviceTypes#Type# getTypecxx . . $ VisualizedDeviceEntry#getType(a0a69dd96b2ea7a3).() { return mTypecxx . . $ VisualizedDeviceEntry#mType.; }
46 inline QPixmapcxx . . $ QPixmap# * getPixmapcxx . . $ VisualizedDeviceEntry#getPixmap(add6be3d0c2828ec).() { return mPixmapcxx . . $ VisualizedDeviceEntry#mPixmap.; }
47 inline QIconcxx . . $ QIcon# * getIconcxx . . $ VisualizedDeviceEntry#getIcon(b0cfac7c344a0278).() { return mIconcxx . . $ VisualizedDeviceEntry#mIcon.; }
48 inline QStandardItemcxx . . $ QStandardItem# * getItemcxx . . $ VisualizedDeviceEntry#getItem(25c2a1f916e09d5f).() { return mItemcxx . . $ VisualizedDeviceEntry#mItem.; }
49 inline stdcxx . . $ std/::stringcxx . . $ std/string# getDefinitioncxx . . $ VisualizedDeviceEntry#getDefinition(efd28698952f529a).() { return mDefinitioncxx . . $ VisualizedDeviceEntry#mDefinition.; }
50 inline bool tracedcxx . . $ VisualizedDeviceEntry#traced(c9857a73d68e59ba).() { return mTracedcxx . . $ VisualizedDeviceEntry#mTraced.; }
51 inline void setLineNumbercxx . . $ VisualizedDeviceEntry#setLineNumber(d4f767463ce0a6b3).(int lineNumber) { mLinecxx . . $ VisualizedDeviceEntry#mLine. = lineNumber; }
52 inline void setPixmapcxx . . $ VisualizedDeviceEntry#setPixmap(32750f7d57f537c5).(QPixmapcxx . . $ QPixmap# * w) { mPixmapcxx . . $ VisualizedDeviceEntry#mPixmap.=w; }
53 inline void setIconcxx . . $ VisualizedDeviceEntry#setIcon(7fb35e6139239c1e).(QIconcxx . . $ QIcon# * w) { mIconcxx . . $ VisualizedDeviceEntry#mIcon.=w; }
54 inline void setItemcxx . . $ VisualizedDeviceEntry#setItem(317b3a1fa3b6b2ce).(QStandardItemcxx . . $ QStandardItem# * w) { mItemcxx . . $ VisualizedDeviceEntry#mItem.=w; }
55 inline void setTracedcxx . . $ VisualizedDeviceEntry#setTraced(b45ddcbc8423892c).(bool traced) { mTracedcxx . . $ VisualizedDeviceEntry#mTraced. = traced; }
56
57 private:
58 int mNumbercxx . . $ VisualizedDeviceEntry#mNumber.;
59 int mLinecxx . . $ VisualizedDeviceEntry#mLine.;
60 DeviceTypescxx . . $ DeviceTypes#::Typecxx . . $ DeviceTypes#Type# mTypecxx . . $ VisualizedDeviceEntry#mType.;
61 stdcxx . . $ std/::stringcxx . . $ std/string# mDefinitioncxx . . $ VisualizedDeviceEntry#mDefinition.;
62 QPixmapcxx . . $ QPixmap# * mPixmapcxx . . $ VisualizedDeviceEntry#mPixmap.;
63 QIconcxx . . $ QIcon# * mIconcxx . . $ VisualizedDeviceEntry#mIcon.;
64 QStandardItemcxx . . $ QStandardItem# * mItemcxx . . $ VisualizedDeviceEntry#mItem.;
65 bool mTracedcxx . . $ VisualizedDeviceEntry#mTraced.;
66 };
67 #endif /* DEVICEENTRY_H_ */