ChimeraTK-DeviceAccess
03.18.00
|
Class for handling the experimental feature enable flag. More...
#include <ExperimentalFeatures.h>
Static Public Member Functions | |
static void | enable () |
Enable experimental features. More... | |
static void | check (const std::string &featureName) |
Check if experimental features are enabled. More... | |
Class for handling the experimental feature enable flag.
Definition at line 16 of file ExperimentalFeatures.h.
|
inlinestatic |
Check if experimental features are enabled.
If not, the application is terminated with an error message which will contain the given name of the experimental feature the application was trying to use. Call this function in the experimental code section of the library to protect it against use without enbaled experimental features.
Definition at line 35 of file ExperimentalFeatures.h.
|
inlinestatic |
Enable experimental features.
Call this function in your application if you want to use experimental features. Beware that your application is likely to break due to incompatible changes in those features!
Definition at line 22 of file ExperimentalFeatures.h.