Adapt the AIL filter used to new ones
[profile/ivi/ico-uxf-homescreen.git] / lib / system-controller / CicoSCSwitch.cpp
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
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
7  *
8  */
9
10 //==========================================================================
11 /**
12  *  @file   CicoSCSwitch.cpp
13  *
14  *  @brief  This file implementation of CicoSCSwitch class
15  */
16 //==========================================================================
17
18 #include <vector>
19 #include <string>
20 using namespace std;
21
22 #include "CicoSCSwitch.h"
23 #include "CicoLog.h"
24
25 //--------------------------------------------------------------------------
26 /**
27  *  @brief  default constructor
28  */
29 //--------------------------------------------------------------------------
30 CicoSCSwitch::CicoSCSwitch()
31     : swname(""), input(-1), fix(false)
32 {
33 }
34
35 //--------------------------------------------------------------------------
36 /**
37  *  @brief  destructor
38  */
39 //--------------------------------------------------------------------------
40 CicoSCSwitch::~CicoSCSwitch()
41 {
42 }
43
44 //--------------------------------------------------------------------------
45 /**
46  *  @brief  dump log this class member variables
47  */
48 //--------------------------------------------------------------------------
49 void
50 CicoSCSwitch::dump(void)
51 {
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());
57     }
58 }
59 // vim:set expandtab ts=4 sw=4: