|
openDAQ
Open data acquisition platform
|
Collaboration diagram for Module manager:Modules | |
| Factories | |
Functions | |
| daq::ListPtr< daq::IModule > | getModules () const |
| Retrieves all modules known to the manager. Whether they were found or side-loaded. More... | |
| void | addModule (const daq::ModulePtr &module) const |
| Side-load a custom module in run-time from memory that was not found by default. More... | |
| void | loadModules (const daq::ContextPtr &context) const |
| Loads all modules from the directory path specified during manager construction. The Context is passed to all loaded modules for internal use. More... | |
| daq::ModulePtr | loadModule (const daq::StringPtr &path) const |
| Loads and adds a single module from the given absolute file system path. More... | |
| void | setAuthenticatedOnly (daq::Bool authenticatedOnly) const |
| Toggle whether this module manager will only load modules that can be authenticated. More... | |
| void | setModuleAuthenticator (const daq::ModuleAuthenticatorPtr &authenticator) const |
| Imports the module authenticator. More... | |
| daq::DictPtr< daq::IString, daq::IString > | getVendorKeys () const |
| Returns a dictionary of module IDs and the respective public keys of their vendors. More... | |
|
inline |
Side-load a custom module in run-time from memory that was not found by default.
| module | The module to add. |
| DuplicateItemException | When an identical module was already added. |
|
inline |
Retrieves all modules known to the manager. Whether they were found or side-loaded.
|
inline |
|
inline |
Loads and adds a single module from the given absolute file system path.
| path | The absolute path to the module file. |
This function should be used only after the default modules have been loaded using loadModules. The specified path must exist and reference a file with the proper extension.
|
inline |
Loads all modules from the directory path specified during manager construction. The Context is passed to all loaded modules for internal use.
| context | The Context containing the Logger, Scheduler, Property Object Class Manager and Module Manager |
|
inline |
Toggle whether this module manager will only load modules that can be authenticated.
| authenticatedOnly | true - only authenticated modules are loaded, false - all modules are loaded |
|
inline |
Imports the module authenticator.
| authenticator | A custom authenticator used to verify the signature/checksum of the modules. |