hyperion.ng
Signals | Public Member Functions | Friends | List of all members
Effect Class Reference
Inheritance diagram for Effect:

Signals

void setInput (const int priority, const std::vector< ColorRgb > &ledColors, const int timeout_ms, const bool &clearEffect)
 
void setInputImage (const int priority, const Image< ColorRgb > &image, const int timeout_ms, const bool &clearEffect)
 

Public Member Functions

 Effect (Hyperion *hyperion, int priority, int timeout, const QString &script, const QString &name, const QJsonObject &args=QJsonObject(), const QString &imageData="")
 
virtual void run ()
 
int getPriority () const
 
void setInteruptionFlag ()
 Set manual interuption to true, Note: DO NOT USE QThread::interuption!
 
bool hasInteruptionFlag ()
 Check if the interuption flag has been set. More...
 
QString getScript () const
 
QString getName () const
 
int getTimeout () const
 
QJsonObject getArgs () const
 

Friends

class EffectModule
 

Member Function Documentation

§ hasInteruptionFlag()

bool Effect::hasInteruptionFlag ( )
inline

Check if the interuption flag has been set.

Returns
The flag state

The documentation for this class was generated from the following files: