blob: 66fc613a245063e271419b9021256f69182e5724 [file] [log] [blame]
anjana_sreekumar@infosys.com991c2062020-01-08 11:42:57 +05301[%- actions = [] %]
2[%- FOREACH actionList = TemplateInputVar%]
3 [%- FOREACH actionObj = actionList%]
4 [%- actions.push(actionObj) %]
5 [%- END %]
6[%- END %]
7[%- actions = actions.unique.sort %]
8[%- USE String %]
9/*
10 * Copyright 2019-present, Infosys Limited.
11 *
12 * Licensed under the Apache License, Version 2.0 (the "License");
13 * you may not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
15 *
16 * http://www.apache.org/licenses/LICENSE-2.0
17 * Unless required by applicable law or agreed to in writing, software
18 * distributed under the License is distributed on an "AS IS" BASIS,
19 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 * See the License for the specific language governing permissions and
21 * limitations under the License.
22 */
23
24/**************************************
25 *
26 * This is an auto generated file.
27 * Please do not edit this file.
28 * All edits to be made through template source file
29 * <TOP-DIR/scripts/SMCodeGen/templates/stateMachineTmpls/actionHandlers.h.tt>
30 **************************************/
31#ifndef ACTIONHANDLERS_H_
32#define ACTIONHANDLERS_H_
33
34#include "smTypes.h"
35
36namespace mme
37{
38 class ActionHandlers
39 {
40
41 /***************************************
42 * Constructor
43 ****************************************/
44 ActionHandlers()
45 {
46 }
47
48 /***************************************
49 * Destructor
50 ****************************************/
51 ~ActionHandlers()
52 {
53 }
54
55 public:
56 [%- FOREACH action = actions %]
57
58 /**********************************************
59 * Action handler : [%String.new(action).lower%]
60 ***********************************************/
61 static SM::ActStatus [%String.new(action).lower%](SM::ControlBlock& cb);
62 [%-END%]
63 };//ActionHandlers
64};//mme
65
66#endif /* ACTIONHANDLERS_H_ */