Remove unused directories and files in video_in_hal
[staging/basesystem.git] / service / native / framework_unified / client / NS_FrameworkCore / src / statemachine / frameworkunified_sm_transition.cpp
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 ///////////////////////////////////////////////////////////////////////////////////////////////////
18 /// \defgroup <<Group Tag>> <<Group Name>>
19 /// \ingroup  tag_NSFramework
20 /// .
21 ///////////////////////////////////////////////////////////////////////////////////////////////////
22
23 ///////////////////////////////////////////////////////////////////////////////////////////////////
24 /// \ingroup  tag_NSFramework
25 /// \brief
26 ///
27 /// This file has the CFrameworkunifiedTransition class definitions.This class provides the interface
28 /// for reacting local transition and external transition
29 ///
30 ///////////////////////////////////////////////////////////////////////////////////////////////////
31
32 ///////////////////////////////////////////////////////////////////////////////////////////////////
33 // Include Files
34 ///////////////////////////////////////////////////////////////////////////////////////////////////
35 #include <native_service/frameworkunified_sm_transition.h>
36 #include <native_service/frameworkunified_sm_state.h>
37
38 ///////////////////////////////////////////////////////////////////////////////////////////
39 /// CFrameworkunifiedTransition
40 /// Parameterized constructor
41 ///////////////////////////////////////////////////////////////////////////////////////////
42 CFrameworkunifiedTransition::CFrameworkunifiedTransition(CFrameworkunifiedState *f_pTargetState): m_pTargetState(f_pTargetState) {
43   if (m_pTargetState) {
44     // LCOV_EXCL_BR_START 15:marco defined in "native_service/ns_logger_if.h"
45     FRAMEWORKUNIFIEDLOG(ZONE_NS_SM_USR_INFO, __FUNCTION__, "Transition created with Target %s ",
46            (m_pTargetState->m_strStateName).c_str());
47     // LCOV_EXCL_BR_STOP
48   }
49 }
50 ///////////////////////////////////////////////////////////////////////////////////////////
51 /// ~CFrameworkunifiedTransition
52 /// Class destructor
53 ///////////////////////////////////////////////////////////////////////////////////////////
54 CFrameworkunifiedTransition::~CFrameworkunifiedTransition() {
55   FRAMEWORKUNIFIEDLOG(ZONE_NS_INFO, __FUNCTION__, "+");
56 }
57