Banuba SDK
Loading...
Searching...
No Matches
reload_result.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 <bnb/utils/defs.hpp>
11#include <memory>
12
13namespace bnb { namespace interfaces {
14
15class effect;
16
17/** Returned by `effect_manager.reload_config`. */
18class BNB_EXPORT reload_result {
19public:
20 virtual ~reload_result() {}
21
22 /**
23 * Effect with updated config applied. Depending on
24 * changes it may be the effect already loaded or a new one.
25 */
26 virtual std::shared_ptr<::bnb::interfaces::effect> effect() = 0;
27
28 /**
29 * In case it was possible to apply the new config on the same
30 * effect, this flag will be `true`.
31 */
32 virtual bool hot_reload() = 0;
33};
34
35} } // namespace bnb::interfaces
36/// @}
37
Returned by effect_manager.reload_config.
virtual bool hot_reload()=0
In case it was possible to apply the new config on the same effect, this flag will be true.
virtual std::shared_ptr<::bnb::interfaces::effect > effect()=0
Effect with updated config applied.