|
int | runEffect (const QString &effectName, int priority, int timeout=-1, const QString &origin="System") |
| Run the specified effect on the given priority channel and optionally specify a timeout.
|
|
int | runEffect (const QString &effectName, const QJsonObject &args, int priority, int timeout=-1, const QString &pythonScript="", const QString &origin="System", unsigned smoothCfg=0, const QString &imageData="") |
| Run the specified effect on the given priority channel and optionally specify a timeout.
|
|
void | channelCleared (int priority) |
| Clear any effect running on the provided channel.
|
|
void | allChannelsCleared () |
| Clear all effects.
|
|
§ deleteEffect()
bool EffectEngine::deleteEffect |
( |
const QString & |
effectName, |
|
|
QString & |
resultMsg |
|
) |
| |
Delete an effect by name.
- Parameters
-
[in] | effectName | The effect name to delete |
[out] | resultMsg | The message on error |
- Returns
- True on success else false
§ getEffectSchemas()
const std::list< EffectSchema > & EffectEngine::getEffectSchemas |
( |
| ) |
|
§ saveEffect()
bool EffectEngine::saveEffect |
( |
const QJsonObject & |
obj, |
|
|
QString & |
resultMsg |
|
) |
| |
Save an effect with EffectFileHandler.
- Parameters
-
| obj | The effect args |
[out] | resultMsg | The feedback message |
- Returns
- True on success else false
The documentation for this class was generated from the following files:
- include/effectengine/EffectEngine.h
- libsrc/effectengine/EffectEngine.cpp