Banuba SDK
processor_status.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup EffectPlayer
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file was generated by Djinni from effect_player.djinni
7 
8 #pragma once
9 
10 #include <functional>
11 
12 namespace bnb { namespace interfaces {
13 
14 enum class processor_status : int {
15  /** Processed frame data */
16  ok,
17  /** Processor output buffer is empty */
18  empty,
19  /** Processing is skipped */
20  skip,
21  /** Error happen, check log */
22  error,
23 };
24 
25 } } // namespace bnb::interfaces
26 
27 namespace std {
28 
29 template <>
30 struct hash<::bnb::interfaces::processor_status> {
31  size_t operator()(::bnb::interfaces::processor_status type) const {
32  return std::hash<int>()(static_cast<int>(type));
33  }
34 };
35 
36 } // namespace std
37 /// @}
38