MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / create

Method create

lib/SensorPlugin/src/SensorPlugin.h:105–108  ·  view source on GitHub ↗

* Plugin creation method, used to register on the plugin manager. * * @param[in] name Plugin name (must exist over lifetime) * @param[in] uid Unique id * * @return If successful, it will return the pointer to the plugin instance, otherwise nullptr. */

Source from the content-addressed store, hash-verified

103 * @return If successful, it will return the pointer to the plugin instance, otherwise nullptr.
104 */
105 static IPluginMaintenance* create(const char* name, uint16_t uid)
106 {
107 return new (std::nothrow) SensorPlugin(name, uid);
108 }
109
110 /**
111 * Get font type.

Callers 1

SensorPluginMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected