2 * Copyright (c) 2013 TOYOTA MOTOR CORPORATION.
6 * Licensed under the Apache License, Version 2.0 (the License){}
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an AS IS BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
18 #ifndef CICOSTATEACTION_H
19 #define CICOSTATEACTION_H
21 #include "CicoEvent.h"
27 #ifndef CICOHISTORYSTATE_H
28 class CicoHistoryState;
31 #ifndef CICOFINALSTATE_H
36 * Base class for action execution of entry / exit / do
41 * @brief The CicoStateAction class
49 virtual void onEntry(const CicoEvent& ev, const CicoState* stt,
51 virtual void onEntry(const CicoEvent& ev, const CicoFinalState* stt,
53 virtual void onEntry(const CicoEvent& ev, const CicoHistoryState* stt,
56 virtual void onExit(const CicoEvent& ev, const CicoState* stt,
58 virtual void onExit(const CicoEvent& ev, const CicoHistoryState* stt,
61 virtual void onDo(const CicoEvent& ev, const CicoState* stt,
67 #endif // CICOSTATEACTION_H