ApraLinuxUtils 1.0.0
C++ utility library for embedded Linux systems
 
Loading...
Searching...
No Matches
ScopeFunction.cpp
Go to the documentation of this file.
1/*
2 * ScopeFunction.cpp
3 *
4 * Copyright (c) 2024 Apra Labs
5 *
6 * This file is part of ApraUtils.
7 *
8 * Licensed under the MIT License.
9 * See LICENSE file in the project root for full license information.
10 */
11
12#include <utils/ScopeFunction.h>
13using namespace apra;
14ScopeFunction::ScopeFunction(std::string fName) :
15 m_functionName(fName)
16{
17 printf("%s::in\n", m_functionName.c_str());
18}
19
21{
22 printf("%s::out\n", m_functionName.c_str());
23}
24
ScopeFunction(std::string fName)