2 * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 //==========================================================================
12 * @file CicoSCSwitch.h
14 * @brief This file is definition of CicoSCSwitch class
16 //==========================================================================
17 #ifndef __CICO_SC_SWITCH_H__
18 #define __CICO_SC_SWITCH_H__
23 //==========================================================================
25 * @brief This class hold input device switch information
27 //==========================================================================
31 // default constructor
35 virtual ~CicoSCSwitch();
37 // dump log CicoSCSwitch member variables
41 // assignment operator
42 CicoSCSwitch& operator=(const CicoSCSwitch &object);
45 CicoSCSwitch(const CicoSCSwitch &object);
48 static const int SWITCH_NOFIX = 0;
49 static const int SWITCH_FIX = 1;
50 static const unsigned int SWITCH_CODE_MAX = 8;
51 std::string swname; //!< input switch name
52 int input; //!< input switch number
53 bool fix; //!< fixed application switch
54 std::vector<int> code; //!< input switch code value
55 std::vector<string> codename; //!< input switch code name
57 #endif // __CICO_SC_SWITCH_H__
58 // vim:set expandtab ts=4 sw=4: