ElementProperty
Function
It is a plugin configuration parameter template. You can rewrite the API of a plugin in DefineProperties to define the plugin configuration parameters.
Structure Definition
struct ElementProperty {
PropertyType type;
std::string name;
std::string nickName;
std::string desc;
T defaultValue;
T min;
T max;
}
Parameter Description
Parameter |
Description |
|---|---|
type |
Data type. For details, see PropertyType. |
name |
Configuration item name. |
nickname |
Configuration item nickname. |
desc |
Configuration item description. |
defaultValue |
Default value. |
min |
Minimum value. |
max |
Maximum value. |
Parent topic: Data Structure