33 class CoreModuleContext;
89 static const std::string& PROP_ID();
97 static const std::string& PROP_NAME();
106 static const std::string& PROP_LOCATION();
115 static const std::string& PROP_VERSION();
124 static const std::string& PROP_VENDOR();
133 static const std::string& PROP_DESCRIPTION();
142 static const std::string& PROP_AUTOLOAD_DIR();
153 static const std::string& PROP_AUTOLOADED_MODULES();
166 bool IsLoaded()
const;
206 long GetModuleId()
const;
218 std::string GetLocation()
const;
231 std::string GetName()
const;
257 Any GetProperty(
const std::string& key)
const;
266 std::vector<std::string> GetPropertyKeys()
const;
280 std::vector<ServiceReferenceU> GetRegisteredServices()
const;
295 std::vector<ServiceReferenceU> GetServicesInUse()
const;
332 std::vector<ModuleResource> FindResources(
const std::string& path,
const std::string& filePattern,
bool recurse)
const;
336 friend class CoreModuleActivator;
338 friend class ServiceReferencePrivate;
344 void Init(CoreModuleContext* coreCtx,
ModuleInfo* info);
ServiceReference< void > ServiceReferenceU
US_Core_EXPORT std::ostream & operator<<(std::ostream &os, const us::Module &module)
#define US_BEGIN_NAMESPACE
static ModuleContext * GetModuleContext()
Returns the module context of the calling module.
#define US_PREPEND_NAMESPACE(name)