MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / LoadActionQueues

Function LoadActionQueues

lib/queue/action-queue.cpp:373–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373void LoadActionQueues(obs_data_t *obj)
374{
375 queues.clear();
376
377 OBSDataArrayAutoRelease array = obs_data_get_array(obj, "actionQueues");
378 size_t count = obs_data_array_count(array);
379
380 for (size_t i = 0; i < count; i++) {
381 OBSDataAutoRelease obj = obs_data_array_item(array, i);
382 auto queue = ActionQueue::Create();
383 queues.emplace_back(queue);
384 queues.back()->Load(obj);
385 }
386}
387
388static bool queueWithNameExists(const std::string &name)
389{

Callers

nothing calls this directly

Calls 1

LoadMethod · 0.45

Tested by

no test coverage detected