|
Userspace Resource Manager
|
#include <ExtFeaturesRegistry.h>
Public Member Functions | |
| ExtFeatureInfo * | getExtFeatureConfigById (uint32_t extFeatureId) |
| Fetch a Feature Config with the given ID. | |
| void | initializeFeatures () |
| Used to initialize all the registered features. | |
| void | teardownFeatures () |
| Used to cleanup all the registered features. | |
| ErrCode | relayToFeature (uint32_t featureId, Signal *signal) |
| Relay a request to a registered feature. | |
Stores information Relating to all the Ext Features registered with resource-tuner. Note: This information is extracted from Config YAML files.
Definition at line 36 of file ExtFeaturesRegistry.h.
| ExtFeatureInfo * ExtFeaturesRegistry::getExtFeatureConfigById | ( | uint32_t | extFeatureId | ) |
Fetch a Feature Config with the given ID.
| featureId | An unsigned 32-bit feature identifier |
| void ExtFeaturesRegistry::initializeFeatures | ( | ) |
Used to initialize all the registered features.
This routine will invoke the init callback associated with each of the registered features. This is done during server initialization.
Relay a request to a registered feature.
| featureId | An unsigned 32-bit feature identifier |
| void ExtFeaturesRegistry::teardownFeatures | ( | ) |
Used to cleanup all the registered features.
This routine will invoke the tear callback associated with each of the registered features. This is done during server teardown.