XACC
Public Member Functions | Protected Attributes | List of all members
xacc::ServiceRegistry Class Reference

Public Member Functions

const std::string getRootPathString ()
 
void initialize (const std::string rootPath)
 
void finalize ()
 
void contributeService (const std::string name, ContributableService &service)
 
template<typename ServiceInterface >
bool hasService (const std::string name)
 
template<typename ServiceInterface >
std::shared_ptr< ServiceInterface > getService (const std::string name)
 
template<typename ServiceInterface >
std::shared_ptr< ServiceInterface > getContributedService (const std::string name)
 
template<typename Service >
bool hasContributedService (const std::string name)
 
template<typename ServiceInterface >
std::vector< std::shared_ptr< ServiceInterface > > getServices ()
 
template<typename ServiceInterface >
std::vector< std::string > getRegisteredIds ()
 
std::vector< OptionPairs > getRegisteredOptions ()
 
bool handleOptions (const std::map< std::string, std::string > &map)
 

Protected Attributes

Framework framework
 
BundleContext context
 
bool initialized = false
 
std::string rootPathStr = ""
 
std::map< std::string, ContributableServiceruntimeContributed
 

The documentation for this class was generated from the following files: