#include <WorkManager.h>
◆ WorkManager()
Construct a new WorkManager
- Parameters
-
store | for segments |
content | for source material |
config | work settings |
◆ doOverrideMacro()
void WorkManager::doOverrideMacro |
( |
const Program * |
macroProgram | ) |
|
◆ doOverrideMemes()
void WorkManager::doOverrideMemes |
( |
const std::set< std::string > & |
memes | ) |
|
◆ finish()
void WorkManager::finish |
( |
bool |
cancelled | ) |
|
◆ getAllMacroPrograms()
std::vector< const Program * > WorkManager::getAllMacroPrograms |
( |
| ) |
const |
- Returns
- all macro programs in alphabetical order
◆ getAndResetDidOverride()
bool WorkManager::getAndResetDidOverride |
( |
| ) |
|
Get whether an override happened, and reset its state after getting
- Returns
- true if an override happened
◆ getEntityStore()
◆ getMemeTaxonomy()
std::optional< MemeTaxonomy > WorkManager::getMemeTaxonomy |
( |
| ) |
const |
- Returns
- the meme taxonomy from the current template configuration
◆ getSourceMaterial()
Get the Hub content source material
- Returns
- source material
◆ getState()
- Returns
- the current work state
◆ runCycle()
std::vector< AudioScheduleEvent > WorkManager::runCycle |
( |
unsigned long long |
atChainMicros | ) |
|
Run the tick cycle (1-3 times per second) This returns the list of audio that should be queued up for playback in a structured way
◆ setIntensityOverride()
void WorkManager::setIntensityOverride |
( |
std::optional< float > |
intensity | ) |
|
Set the intensity override to a value between 0 and 1, or null if no override
- Parameters
-
intensity | the intensity to set |
◆ start()
void WorkManager::start |
( |
| ) |
|
The documentation for this class was generated from the following files:
- /home/runner/work/xjmusic/xjmusic/engine/include/xjmusic/work/WorkManager.h
- /home/runner/work/xjmusic/xjmusic/engine/src/work/WorkManager.cpp