openDAQ
Open data acquisition platform
ModuleManagerPtr Class Reference

Loads all available modules in a implementation-defined manner. User can also side-load custom modules via addModule call. More...

Inherits ObjectPtr< IModuleManager >.

Detailed Description

Loads all available modules in a implementation-defined manner. User can also side-load custom modules via addModule call.

Public Member 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...