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

Method Load

lib/queue/action-queue.cpp:47–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void ActionQueue::Load(obs_data_t *obj)
48{
49 std::lock_guard<std::mutex> lock(_mutex);
50 _name = obs_data_get_string(obj, "name");
51 _runOnStartup = obs_data_get_bool(obj, "runOnStartup");
52 _resolveVariablesOnAdd =
53 obs_data_get_bool(obj, "resolveVariablesOnAdd");
54
55 if (_runOnStartup) {
56 Start();
57 }
58}
59
60void ActionQueue::Start()
61{

Callers 3

AddMethod · 0.45
LoadActionQueuesFunction · 0.45
ImportQueuesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected