MCPcopy Create free account
hub / github.com/SatDump/SatDump / init

Method init

plugins/dvb_support/main.cpp:18–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 }
17
18 void init()
19 {
20#ifdef DVB_HAS_SSE41
21 if (!cpu_features::get_cpu_features().CPU_X86_SSE41)
22 {
23 logger->error("CPU Does not support SSE4_1. Extension plugin NOT loading!");
24 return;
25 }
26#endif
27 satdump::eventBus->register_handler<RegisterModulesEvent>(registerPluginsHandler);
28 }
29
30 static void registerPluginsHandler(const RegisterModulesEvent &evt)
31 {

Callers

nothing calls this directly

Calls 2

get_cpu_featuresFunction · 0.85
errorMethod · 0.45

Tested by

no test coverage detected