#include <ModuleRegistry.h>
|
| void | registerModule (ModuleInfo info) |
| |
| void | addRegistrationCallback (RegistrationCallback callback) |
| |
| void | rerunRegistrations () |
| |
| bool | hasModule (const std::string &name) const |
| |
| const ModuleInfo * | getModule (const std::string &name) const |
| |
| std::vector< std::string > | getAllModules () const |
| |
| std::vector< std::string > | getModulesByCategory (ModuleCategory cat) const |
| |
| std::vector< std::string > | getModulesByTag (const std::string &tag) const |
| |
| std::vector< std::string > | getModulesWithAllTags (const std::vector< std::string > &tags) const |
| |
| std::unique_ptr< Module > | createModule (const std::string &name, const std::map< std::string, ScalarPropertyValue > &props) const |
| |
| std::unique_ptr< Module > | createCudaModule (const std::string &name, const std::map< std::string, ScalarPropertyValue > &props, void *cudaStreamPtr) const |
| |
| bool | setCudaFactory (const std::string &name, ModuleInfo::CudaFactoryFn factory) |
| |
| bool | moduleRequiresCudaStream (const std::string &name) const |
| |
| std::unique_ptr< Module > | createCuContextModule (const std::string &name, const std::map< std::string, ScalarPropertyValue > &props, void *cuContextPtr) const |
| |
| bool | setCuContextFactory (const std::string &name, ModuleInfo::CuContextFactoryFn factory) |
| |
| bool | moduleRequiresCuContext (const std::string &name) const |
| |
| std::string | toJson () const |
| |
| std::string | toToml () const |
| |
| void | clear () |
| |
| size_t | size () const |
| |
◆ RegistrationCallback
◆ ModuleRegistry() [1/2]
| apra::ModuleRegistry::ModuleRegistry |
( |
| ) |
|
|
privatedefault |
◆ ~ModuleRegistry()
| apra::ModuleRegistry::~ModuleRegistry |
( |
| ) |
|
|
privatedefault |
◆ ModuleRegistry() [2/2]
◆ addRegistrationCallback()
◆ clear()
| void apra::ModuleRegistry::clear |
( |
| ) |
|
◆ createCuContextModule()
| std::unique_ptr< Module > apra::ModuleRegistry::createCuContextModule |
( |
const std::string & | name, |
|
|
const std::map< std::string, ScalarPropertyValue > & | props, |
|
|
void * | cuContextPtr ) const |
◆ createCudaModule()
| std::unique_ptr< Module > apra::ModuleRegistry::createCudaModule |
( |
const std::string & | name, |
|
|
const std::map< std::string, ScalarPropertyValue > & | props, |
|
|
void * | cudaStreamPtr ) const |
◆ createModule()
| std::unique_ptr< Module > apra::ModuleRegistry::createModule |
( |
const std::string & | name, |
|
|
const std::map< std::string, ScalarPropertyValue > & | props ) const |
◆ getAllModules()
| std::vector< std::string > apra::ModuleRegistry::getAllModules |
( |
| ) |
const |
◆ getModule()
| const ModuleInfo * apra::ModuleRegistry::getModule |
( |
const std::string & | name | ) |
const |
◆ getModulesByCategory()
| std::vector< std::string > apra::ModuleRegistry::getModulesByCategory |
( |
ModuleCategory | cat | ) |
const |
◆ getModulesByTag()
| std::vector< std::string > apra::ModuleRegistry::getModulesByTag |
( |
const std::string & | tag | ) |
const |
◆ getModulesWithAllTags()
| std::vector< std::string > apra::ModuleRegistry::getModulesWithAllTags |
( |
const std::vector< std::string > & | tags | ) |
const |
◆ hasModule()
| bool apra::ModuleRegistry::hasModule |
( |
const std::string & | name | ) |
const |
◆ instance()
◆ moduleRequiresCuContext()
| bool apra::ModuleRegistry::moduleRequiresCuContext |
( |
const std::string & | name | ) |
const |
◆ moduleRequiresCudaStream()
| bool apra::ModuleRegistry::moduleRequiresCudaStream |
( |
const std::string & | name | ) |
const |
◆ operator=()
◆ registerModule()
| void apra::ModuleRegistry::registerModule |
( |
ModuleInfo | info | ) |
|
◆ rerunRegistrations()
| void apra::ModuleRegistry::rerunRegistrations |
( |
| ) |
|
◆ setCuContextFactory()
◆ setCudaFactory()
◆ size()
| size_t apra::ModuleRegistry::size |
( |
| ) |
const |
◆ toJson()
| std::string apra::ModuleRegistry::toJson |
( |
| ) |
const |
◆ toToml()
| std::string apra::ModuleRegistry::toToml |
( |
| ) |
const |
◆ modules_
| std::map<std::string, ModuleInfo> apra::ModuleRegistry::modules_ |
|
private |
◆ mutex_
| std::mutex apra::ModuleRegistry::mutex_ |
|
mutableprivate |
◆ registrationCallbacks_
The documentation for this class was generated from the following files:
- base/include/declarative/ModuleRegistry.h
- base/src/declarative/ModuleRegistry.cpp