Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
global_destructor.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Roc Streaming authors
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 */
8
9//! @file roc_core/global_destructor.h
10//! @brief Global destructor.
11
12#ifndef ROC_CORE_GLOBAL_DESTRUCTOR_H_
13#define ROC_CORE_GLOBAL_DESTRUCTOR_H_
14
15namespace roc {
16namespace core {
17
18//! Allows to determine if global library destruction was initiated.
20public:
22
23 //! Check if global library destruction was initiated.
24 static bool is_destroying();
25};
26
27} // namespace core
28} // namespace roc
29
30#endif // ROC_CORE_GLOBAL_DESTRUCTOR_H_
Allows to determine if global library destruction was initiated.
static bool is_destroying()
Check if global library destruction was initiated.
Root namespace.