Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
status_code.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019 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_status/status_code.h
10 //! @brief Status codes.
11 
12 #ifndef ROC_STATUS_STATUS_CODE_H_
13 #define ROC_STATUS_STATUS_CODE_H_
14 
15 namespace roc {
16 namespace status {
17 
18 //! Status code.
19 enum StatusCode {
20  StatusOK, //!< Status indicating a success of an operation.
21  StatusUnknown, //!< Unknown status.
22  StatusNoData, //!< There is no enough data to perform an operation.
23 };
24 
25 } // namespace status
26 } // namespace roc
27 
28 #endif // ROC_STATUS_STATUS_CODE_H_
Root namespace.
StatusCode
Status code.
Definition: status_code.h:19
@ StatusUnknown
Unknown status.
Definition: status_code.h:21
@ StatusOK
Status indicating a success of an operation.
Definition: status_code.h:20
@ StatusNoData
There is no enough data to perform an operation.
Definition: status_code.h:22