|
bool | setInput (const int priority, const std::vector< ColorRgb > &ledColors, const int timeout_ms=-1, const bool &clearEffect=true) |
| Update the current color of a priority (prev registered with registerInput()) DO NOT use this together with setInputImage() at the same time! More...
|
|
bool | setInputImage (const int priority, const Image< ColorRgb > &image, int64_t timeout_ms=-1, const bool &clearEffect=true) |
| Update the current image of a priority (prev registered with registerInput()) DO NOT use this together with setInput() at the same time! More...
|
|
bool | setInputInactive (const quint8 &priority) |
| Set the given priority to inactive. More...
|
|
void | setColor (int priority, const ColorRgb &ledColor, const int timeout_ms=-1, const QString &origin="System", bool clearEffects=true) |
| Writes a single color to all the leds for the given time and priority Registers comp color or provided type against muxer Should be never used to update leds continuous. More...
|
|
const QStringList & | getAdjustmentIds () const |
| Returns the list with unique adjustment identifiers. More...
|
|
ColorAdjustment * | getAdjustment (const QString &id) |
| Returns the ColorAdjustment with the given identifier. More...
|
|
void | adjustmentsUpdated () |
| Tell Hyperion that the corrections have changed and the leds need to be updated.
|
|
bool | clear (int priority) |
| Clears the given priority channel. More...
|
|
void | clearall (bool forceClearAll=false) |
| Clears all priority channels. More...
|
|
int | setEffect (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. More...
|
|
int | setEffect (const QString &effectName, const QJsonObject &args, int priority, int timeout=-1, const QString &pythonScript="", const QString &origin="System", const QString &imageData="") |
| Run the specified effect on the given priority channel and optionally specify a timeout. More...
|
|
void | setLedMappingType (const int &mappingType) |
| sets the methode how image is maped to leds at ImageProcessor
|
|
void | setVideoMode (const VideoMode &mode) |
| Set the video mode (2D/3D) More...
|
|
|
void | channelCleared (int priority) |
| Signal which is emitted when a priority channel is actively cleared This signal will not be emitted when a priority channel time out.
|
|
void | allChannelsCleared () |
| Signal which is emitted when all priority channels are actively cleared This signal will not be emitted when a priority channel time out.
|
|
void | componentStateChanged (const hyperion::Components component, bool enabled) |
| Emits whenever a user request a component state change, it's up the component to listen and update the component state at the componentRegister. More...
|
|
void | imageToLedsMappingChanged (const int &mappingType) |
| Emits whenever the imageToLedsMapping has changed. More...
|
|
void | currentImage (const Image< ColorRgb > &image) |
| Emits whenever the visible priority delivers a image which is applied in update() priorities with ledColors won't emit this signal. More...
|
|
void | closing () |
|
void | forwardJsonMessage (QJsonObject) |
| Signal which is emitted, when a new json message should be forwarded.
|
|
void | forwardSystemProtoMessage (const QString, const Image< ColorRgb >) |
| Signal which is emitted, when a new system proto image should be forwarded.
|
|
void | forwardV4lProtoMessage (const QString, const Image< ColorRgb >) |
| Signal which is emitted, when a new V4l proto image should be forwarded.
|
|
void | videoMode (const VideoMode &mode) |
| Is emitted from clients who request a videoMode change.
|
|
void | newVideoMode (const VideoMode &mode) |
| A new videoMode was requested (called from Daemon!)
|
|
void | settingsChanged (const settings::type &type, const QJsonDocument &data) |
| Emits whenever a config part changed. More...
|
|
void | adjustmentChanged () |
| Emits whenever the adjustments have been updated.
|
|
void | effectListUpdated () |
| Signal pipe from EffectEngine to external, emits when effect list has been updated.
|
|
void | ledDeviceData (const std::vector< ColorRgb > &ledValues) |
| Emits whenever new data should be pushed to the LedDeviceWrapper which forwards it to the threaded LedDevice.
|
|
void | rawLedColors (const std::vector< ColorRgb > &ledValues) |
| Emits whenever new untransformed ledColos data is available, reflects the current visible device.
|
|
|
| ~Hyperion () |
| Destructor; cleans up resources.
|
|
void | freeObjects (bool emitCloseSignal=false) |
| free all alocated objects, should be called only from constructor or before restarting hyperion
|
|
EffectEngine * | getEffectEngineInstance () |
| Get a pointer to the effect engine. More...
|
|
PriorityMuxer * | getMuxerInstance () |
| Get a pointer to the priorityMuxer instance. More...
|
|
ImageProcessor * | getImageProcessor () |
|
QJsonDocument | getSetting (const settings::type &type) |
| Get a setting by settings::type from SettingsManager. More...
|
|
bool | saveSettings (QJsonObject config, const bool &correct=false) |
| Save a complete json config. More...
|
|
unsigned | getLedCount () const |
| Returns the number of attached leds.
|
|
QSize | getLedGridSize () const |
| Return the size of led grid.
|
|
int | getCurrentPriority () const |
| Returns the current priority. More...
|
|
bool | isCurrentPriority (const int priority) const |
| Returns true if current priority is given priority. More...
|
|
QList< int > | getActivePriorities () const |
| Returns a list of all registered priorities. More...
|
|
const InputInfo | getPriorityInfo (const int priority) const |
| Returns the information of a specific priorrity channel. More...
|
|
bool | saveEffect (const QJsonObject &obj, QString &resultMsg) |
| Save an effect. More...
|
|
bool | deleteEffect (const QString &effectName, QString &resultMsg) |
| Delete an effect by name. More...
|
|
const std::list< EffectDefinition > & | getEffects () const |
| Get the list of available effects. More...
|
|
const std::list< ActiveEffectDefinition > & | getActiveEffects () |
| Get the list of active effects. More...
|
|
const std::list< EffectSchema > & | getEffectSchemas () |
| Get the list of available effect schema files. More...
|
|
const QJsonObject & | getQJsonConfig () |
| gets the current json config object from SettingsManager More...
|
|
QString | getConfigFilePath () |
| get path+filename of configfile More...
|
|
QString | getConfigFileName () const |
| get filename of configfile More...
|
|
void | registerInput (const int priority, const hyperion::Components &component, const QString &origin="System", const QString &owner="", unsigned smooth_cfg=0) |
| Register a new input by priority, the priority is not active (timeout -100 isn't muxer recognized) until you start to update the data with setInput() A repeated call to update the base data of a known priority won't overwrite their current timeout. More...
|
|
void | setSourceAutoSelectEnabled (bool enabled) |
| enable/disable automatic/priorized source selection More...
|
|
bool | setCurrentSourcePriority (int priority) |
| set current input source to visible More...
|
|
bool | sourceAutoSelectEnabled () |
| gets current state of automatic/priorized source selection More...
|
|
void | setNewComponentState (const hyperion::Components &component, const bool &state) |
| Called from components to update their current state. More...
|
|
void | setComponentState (const hyperion::Components component, const bool state) |
| Enable/Disable components during runtime, called from external API (requests) More...
|
|
ComponentRegister & | getComponentRegister () |
|
bool | configModified () |
|
bool | configWriteable () |
|
const int & | getLedMappingType () |
| gets the methode how image is maped to leds
|
|
const QString & | getRootPath () |
| get the root path for all hyperion user data files
|
|
const QString & | getId () |
| get unique id per instance
|
|
void | setId (QString id) |
| set unique id
|
|
int | getLatchTime () const |
|
unsigned | addSmoothingConfig (int settlingTime_ms, double ledUpdateFrequency_hz=25.0, unsigned updateDelay=0) |
| forward smoothing config
|
|
const VideoMode & | getCurrentVideoMode () |
|
const QString & | getActiveDevice () |
| Get the current active led device. More...
|
|
The main class of Hyperion.
This gives other 'users' access to the attached LedDevice through the priority muxer.