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
StatusNoMem
,
//!< Allocation failed during operation.
24
StatusNoSpace
,
//!< Not enough space in buffer.
25
StatusLimit
,
//!< Operation forbidden because limit exceeded.
26
StatusConflict
//!< Operation forbidden because of conflict.
27
};
28
29
}
// namespace status
30
}
// namespace roc
31
32
#endif
// ROC_STATUS_STATUS_CODE_H_
roc
Root namespace.
roc::status::StatusCode
StatusCode
Status code.
Definition:
status_code.h:19
roc::status::StatusNoMem
@ StatusNoMem
Allocation failed during operation.
Definition:
status_code.h:23
roc::status::StatusUnknown
@ StatusUnknown
Unknown status.
Definition:
status_code.h:21
roc::status::StatusOK
@ StatusOK
Status indicating a success of an operation.
Definition:
status_code.h:20
roc::status::StatusConflict
@ StatusConflict
Operation forbidden because of conflict.
Definition:
status_code.h:26
roc::status::StatusNoData
@ StatusNoData
There is no enough data to perform an operation.
Definition:
status_code.h:22
roc::status::StatusLimit
@ StatusLimit
Operation forbidden because limit exceeded.
Definition:
status_code.h:25
roc::status::StatusNoSpace
@ StatusNoSpace
Not enough space in buffer.
Definition:
status_code.h:24
roc_status
status_code.h
Generated by
1.9.1