GCC Code Coverage Report


Directory: ./
File: demos/verbose.cpp
Date: 2022-06-30 06:29:57
Exec Total Coverage
Lines: 0 5 0.0%
Branches: 0 20 0.0%

Line Branch Exec Source
1 /**
2 * @file set_data.cpp
3 * @author Vincent Berenz
4 * @license License BSD-3-Clause
5 * @copyright Copyright (c) 2019, New York University and Max Planck
6 * Gesellschaft.
7 * @date 2019-05-22
8 *
9 * @brief shows how to turn of console prints
10 */
11
12 #include "shared_memory/shared_memory.hpp"
13
14 int main()
15 {
16 shared_memory::clear_shared_memory("verbose_demo");
17
18 shared_memory::set("verbose_demo", "verbose_demo1", 1);
19
20 shared_memory::set_verbose(false);
21
22 shared_memory::set("verbose_demo", "verbose_demo2", 2);
23 }
24