| 1 | /* |
| 2 | * File: DeviceConfigLine.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 object manages one configuration line belonging to devices |
| 11 | * (see also ConfigLine.h) |
| 12 | * |
| 13 | * This program is free software: you can redistribute it and/or modify |
| 14 | * it under the terms of the GNU General Public License as published by |
| 15 | * the Free Software Foundation, either version 3 of the License, or |
| 16 | * (at your option) any later version. |
| 17 | * |
| 18 | * This program is distributed in the hope that it will be useful, |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | * GNU General Public License for more details. |
| 22 | * |
| 23 | * You should have received a copy of the GNU General Public License |
| 24 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 25 | * |
| 26 | */ |
| 27 | |
| 28 | #ifndef DEVICECONFIGLINE_H_ |
| 29 | #define DEVICECONFIGLINE_H_cxx . . $ `HercConfiguration/DeviceConfigLine.h:29:9`! |
| 30 | |
| 31 | #include "ConfigLine.h"cxx . . $ `<file>/HercConfiguration/ConfigLine.h`/ |
| 32 | #include "DeviceTypes.h"cxx . . $ `<file>/HercConfiguration/DeviceTypes.h`/ |
| 33 | |
| 34 | #include <map> |
| 35 | |
| 36 | class DeviceConfigLinecxx . . $ DeviceConfigLine#: public ConfigLinecxx . . $ ConfigLine# |
| 37 | { |
| 38 | public: |
| 39 | typedef stdcxx . . $ std/::mapcxx . . $ std/map#<stdcxx . . $ std/::stringcxx . . $ std/string#, DeviceTypescxx . . $ DeviceTypes#::Typecxx . . $ DeviceTypes#Type#> DeviceTypesMapcxx . . $ DeviceConfigLine#DeviceTypesMap#; |
| 40 | DeviceConfigLinecxx . . $ DeviceConfigLine#DeviceConfigLine(85c52e162fed56f9).(const char *line); |
| 41 | virtual ~cxx . . $ DeviceConfigLine#`~DeviceConfigLine`(49f6e7a06ebc5aa8).DeviceConfigLinecxx . . $ DeviceConfigLine#(); |
| 42 | static void clearcxx . . $ DeviceConfigLine#clear(49f6e7a06ebc5aa8).(); |
| 43 | |
| 44 | int getDeviceNumbercxx . . $ DeviceConfigLine#getDeviceNumber(455f465bc33b4cdf).() const; |
| 45 | DeviceTypescxx . . $ DeviceTypes#::Typecxx . . $ DeviceTypes#Type# getDeviceTypecxx . . $ DeviceConfigLine#getDeviceType(2700e08780fa2d6b).() const; |
| 46 | stdcxx . . $ std/::stringcxx . . $ std/string# toStringcxx . . $ DeviceConfigLine#toString(219584694fe2b248).() const; |
| 47 | int getMultiCountcxx . . $ DeviceConfigLine#getMultiCount(b126dc7c1de90089).(); |
| 48 | |
| 49 | private: |
| 50 | static stdcxx . . $ std/::mapcxx . . $ std/map#<stdcxx . . $ std/::stringcxx . . $ std/string#,DeviceTypescxx . . $ DeviceTypes#::Typecxx . . $ DeviceTypes#Type#> * mDeviceTypescxx . . $ DeviceConfigLine#mDeviceTypes.; |
| 51 | static stdcxx . . $ std/::mapcxx . . $ std/map#<stdcxx . . $ std/::stringcxx . . $ std/string#,DeviceTypescxx . . $ DeviceTypes#::BaseTypecxx . . $ DeviceTypes#BaseType#> * mDeviceBaseTypescxx . . $ DeviceConfigLine#mDeviceBaseTypes.; |
| 52 | int mMultiCountcxx . . $ DeviceConfigLine#mMultiCount.; |
| 53 | |
| 54 | void initilizecxx . . $ DeviceConfigLine#initilize(49f6e7a06ebc5aa8).(); |
| 55 | void handleMultiLinecxx . . $ DeviceConfigLine#handleMultiLine(49f6e7a06ebc5aa8).(); |
| 56 | }; |
| 57 | |
| 58 | #endif /* DEVICECONFIGLINE_H_ */ |