Class ARGSETTER_WRAPPER
Defined in File PDJE_interface.hpp
Class Documentation
-
class ARGSETTER_WRAPPER
the realtime fx controller wrapper class for binded languages. the argsetter is basically unordered_map. but the binded languges can’t use that, so this wrapper exists. with this, you can control fx in realtime.
Public Functions
-
inline ARGSETTER_WRAPPER(FXControlPannel *pointer)
Construct a new argsetter wrapper object wraps the FXControlPannel object.
- Parameters:
pointer – the controlpannel object, you can get this from music handler.
-
~ARGSETTER_WRAPPER() = default
-
std::vector<std::string> GetFXArgKeys(FXList fx)
gets the available fx list returns available fx key list.
- Parameters:
fx – the type of fx. check the FXList.
- Returns:
std::vector<std::string> the key list.
-
void SetFXArg(FXList fx, const DONT_SANITIZE &key, double arg)
set fx in realtime. sets the fx in realtime. better to check the fx key before use if you don’t know.
- Parameters:
fx – the tyoe of fx.
key – the key of the fx arg
arg – value to change
-
inline ARGSETTER_WRAPPER(FXControlPannel *pointer)