#include <nap/modulecache.h>
Public Member Functions | |
| Module ()=default | |
| Module (Module &)=delete | |
| Module & | operator= (const Module &)=delete |
| Module (Module &&)=delete | |
| Module & | operator= (Module &&)=delete |
| const std::string & | getName () const |
| const ModuleDescriptor & | getDescriptor () const |
| const ModuleInfo & | getInformation () const |
| std::string | findAsset (const std::string &name) const |
| const rtti::TypeInfo | getServiceType () const |
| const std::vector< const nap::Module * > | getDependencies () const |
Contains all data associated with a module, including handle and description. Created and managed by the nap::ModuleManager.
|
default |
| std::string findAsset | ( | const std::string & | name | ) | const |
Attempts to find a (module specific) asset with the given name and extension. The asset must reside in one of the locations declared by the 'nap::ModuleInfo::DataSearchPaths' property.
| const std::vector<const nap::Module*> getDependencies | ( | ) | const |
Returns all NAP module dependencies, including child dependencies, in order from bottom to top.
| const ModuleDescriptor& getDescriptor | ( | ) | const |
| const ModuleInfo& getInformation | ( | ) | const |
| const std::string& getName | ( | ) | const |
| const rtti::TypeInfo getServiceType | ( | ) | const |
Returns type of service associated with this module,