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.cpp
14 * @brief This file implementation of CicoSCSwitch class
16 //==========================================================================
22 #include "CicoSCSwitch.h"
25 //--------------------------------------------------------------------------
27 * @brief default constructor
29 //--------------------------------------------------------------------------
30 CicoSCSwitch::CicoSCSwitch()
31 : swname(""), input(-1), fix(false)
35 //--------------------------------------------------------------------------
39 //--------------------------------------------------------------------------
40 CicoSCSwitch::~CicoSCSwitch()
44 //--------------------------------------------------------------------------
46 * @brief dump log this class member variables
48 //--------------------------------------------------------------------------
50 CicoSCSwitch::dump(void)
52 ICO_DBG("CicoSCSwitch: swname=%s input=%d fix=%d numCode=%d",
53 swname.c_str(), input, fix);
54 for (unsigned int i = 0; i < code.size(); ++i) {
55 ICO_DBG("CicoSCSwitch: [%d] code=%d codename=%s",
56 i, code[i], codename[i].c_str());
59 // vim:set expandtab ts=4 sw=4: