blob: e2546b2be9d9f43753d5dfa149e4035d28f29e9f [file] [log] [blame]
anjana_sreekumar@infosys.com991c2062020-01-08 11:42:57 +05301/*
2 * Copyright 2019-present, Infosys Limited.
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 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15/******************************************************************************
16 *
17 * This is an auto generated file.
18 * Please do not edit this file.
19 * All edits to be made through template source file
20 * <TOP-DIR/scripts/GtpV2StackCodeGen/tts/msgfactorytemplate.h.tt>
21 ******************************************************************************/
22#ifndef GTPV2MSGFACTORY_H_
23#define GTPV2MSGFACTORY_H_
24
25#include <map>
26#include "manual/gtpV2Message.h"
27
28class GtpV2MsgFactory {
29public:
30 GtpV2MsgFactory();
31 virtual ~GtpV2MsgFactory();
32
33 static GtpV2MsgFactory& getInstance();
34 GtpV2Message& getMsgObject(Uint8 msgType);
35
36private:
37
38 map<Uint8, GtpV2Message*> msgObjectContainer;
39
40};
41
42
43#endif /* GTPV2MSGFACTORY_H_ */