Banuba SDK
recognizer_mode.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup Recognizer
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file generated by Djinni from recognizer.djinni
7 
8 #pragma once
9 
10 #include <functional>
11 
12 namespace bnb { namespace interfaces {
13 
14 enum class recognizer_mode : int {
15  /** Frame is processed only when pop_frame method called */
16  synchronous,
17  /** Frame processing begins on push_frame method call */
18  asynchronous,
19 };
20 
21 } } // namespace bnb::interfaces
22 
23 namespace std {
24 
25 template <>
26 struct hash<::bnb::interfaces::recognizer_mode> {
27  size_t operator()(::bnb::interfaces::recognizer_mode type) const {
28  return std::hash<int>()(static_cast<int>(type));
29  }
30 };
31 
32 } // namespace std
33 /// @}
34