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