Wrapper to access FlexLMMng for a given set of features. More...
#include <arcane/impl/FlexLMTools.h>
Public Member Functions | |
| FlexLMTools () | |
| Constructor. | |
| virtual | ~FlexLMTools () |
| Destructor. | |
| bool | checkLicense (typename FeatureModel::eFeature feature, const bool do_fatal) const |
| Tests the availability of a feature. | |
| bool | checkLicense (typename FeatureModel::eFeature feature, const Real version, const bool do_fatal) const |
| Tests the availability of a feature on a maximum version. | |
| void | getLicense (typename FeatureModel::eFeature feature, Integer nb_licenses=1) |
| Requests the allocation of. | |
| void | releaseLicense (typename FeatureModel::eFeature feature, Integer nb_licenses=0) |
| Releases. | |
| String | featureInfo (typename FeatureModel::eFeature feature) const |
| Return info on feature. | |
Wrapper to access FlexLMMng for a given set of features.
Definition at line 139 of file FlexLMTools.h.
|
inline |
Constructor.
Definition at line 144 of file FlexLMTools.h.
|
inlinevirtual |
Destructor.
Definition at line 147 of file FlexLMTools.h.
|
inline |
Tests the availability of a feature.
Definition at line 153 of file FlexLMTools.h.
References Arcane::FlexLMMng::checkLicense(), and Arcane::FlexLMMng::instance().
|
inline |
Tests the availability of a feature on a maximum version.
The version can be used to test a quantity; e.g., 3 for a maximum of 3 components
Definition at line 163 of file FlexLMTools.h.
References Arcane::FlexLMMng::checkLicense(), and Arcane::FlexLMMng::instance().
|
inline |
Return info on feature.
Definition at line 187 of file FlexLMTools.h.
References Arcane::FlexLMMng::featureInfo(), and Arcane::FlexLMMng::instance().
|
inline |
Requests the allocation of.
| nb_licenses | for the feature |
| feature |
Definition at line 171 of file FlexLMTools.h.
References Arcane::FlexLMMng::getLicense(), and Arcane::FlexLMMng::instance().
|
inline |
Releases.
| nb_licenses | for the feature |
| feature |
Definition at line 180 of file FlexLMTools.h.
References Arcane::FlexLMMng::instance(), and Arcane::FlexLMMng::releaseLicense().