blob: 92149aca9fcaca233ab6f60aed512b0666160cc2 [file] [log] [blame]
anjana_sreekumar@infosys.com991c2062020-01-08 11:42:57 +05301/*
2 * Copyright 2019-present Infosys Limited
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6/******************************************************************************
7 * mmeTauProcedureCtxtManager.cpp
8 * This is an auto generated file.
9 * Please do not edit this file.
10 * All edits to be made through template source file
11 * <TOP-DIR/scripts/SMCodeGen/templates/ctxtManagerTmpls/blockPoolManager.cpp.tt>
12 ******************************************************************************/
13
14#include "memPoolManager.h"
15#include "contextManager/dataBlocks.h"
16#include "contextManager/mmeTauProcedureCtxtManager.h"
17
18using namespace cmn::memPool;
19
20namespace mme
21{
22 /******************************************************************************
23 * Constructor
24 ******************************************************************************/
25 MmeTauProcedureCtxtManager::MmeTauProcedureCtxtManager(int numOfBlocks):poolManager_m(numOfBlocks)
26 {
27 }
28
29 /******************************************************************************
30 * Destructor
31 ******************************************************************************/
32 MmeTauProcedureCtxtManager::~MmeTauProcedureCtxtManager()
33 {
34 }
35
36 /******************************************************************************
37 * Allocate MmeTauProcedureCtxt data block
38 ******************************************************************************/
39 MmeTauProcedureCtxt* MmeTauProcedureCtxtManager::allocateMmeTauProcedureCtxt()
40 {
41 MmeTauProcedureCtxt* MmeTauProcedureCtxt_p = poolManager_m.allocate();
42 return MmeTauProcedureCtxt_p;
43 }
44
45 /******************************************************************************
46 * Deallocate a MmeTauProcedureCtxt data block
47 ******************************************************************************/
48 void MmeTauProcedureCtxtManager::deallocateMmeTauProcedureCtxt(MmeTauProcedureCtxt* MmeTauProcedureCtxtp)
49 {
50 poolManager_m.free( MmeTauProcedureCtxtp );
51 }
52}