5#include "ErrorStatus.h"
56 MMIND_API_EXPORT
Parameter* operator[](
const std::string& parameterName)
const;
103 std::string& value)
const;
109 const std::string& value);
125 std::vector<double>& value)
const;
131 const std::vector<double>& value);
146 std::shared_ptr<class SettingImpl> _impl;
148 explicit UserSet(
const std::shared_ptr<class SettingImpl>& impl);
149 friend class UserSetManagerImpl;
Represents a parameter of the device.
Represents a device parameter group.
MMIND_API_EXPORT ErrorStatus getName(std::string &userSetName) const
Gets the name of the current device parameter group.
MMIND_API_EXPORT ErrorStatus getIntValue(const std::string ¶meterName, int &value) const
Gets the current value of an _Int-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus setRoiValue(const std::string ¶meterName, const ROI &value)
Sets the value of an _Roi-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus resetAllParametersToDefaultValues()
Resets all device parameters in the current device parameter group to default values.
MMIND_API_EXPORT ErrorStatus saveAllParametersToDevice() const
Saves the values of all device parameters in the current device parameter group to the device.
MMIND_API_EXPORT ErrorStatus setEnumValue(const std::string ¶meterName, const std::string &value)
Sets the value of an _Enum-type device parameter by inputting a string. See Parameter for details.
MMIND_API_EXPORT ErrorStatus setFloatArrayValue(const std::string ¶meterName, const std::vector< double > &value)
Sets the value of a _FloatArray-type device parameter. See Parameter for details.
MMIND_API_EXPORT Parameter * getParameter(const std::string ¶meterName) const
Gets the pointer to the elements of a specific device parameter.
MMIND_API_EXPORT ErrorStatus getRoiValue(const std::string ¶meterName, ROI &value) const
Gets the current value of an _Roi-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus setEnumValue(const std::string ¶meterName, int value)
Sets the value of an _Enum-type device parameter by inputting the integer value of an enumerator....
MMIND_API_EXPORT ErrorStatus setIntValue(const std::string ¶meterName, int value)
Sets the value of an _Int-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus getRangeValue(const std::string ¶meterName, Range< int > &value) const
Gets the current value of a _Range-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus getFloatArrayValue(const std::string ¶meterName, std::vector< double > &value) const
Gets the current value of a _FloatArray-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus getAvailableParameterNames(std::vector< std::string > ¶meterArrayNames) const
Gets the names of all device parameters in the current device parameter group.
MMIND_API_EXPORT ErrorStatus getEnumValue(const std::string ¶meterName, int &value) const
Gets the current value of an _Enum-type device parameter in the form of the integer value of the enum...
MMIND_API_EXPORT ErrorStatus getEnumValue(const std::string ¶meterName, std::string &value) const
Gets the current value of an _Enum-type device parameter in the form of a string. See Parameter for d...
MMIND_API_EXPORT std::vector< Parameter * > getAvailableParameters() const
Returns the pointer to the element in the vector of all device parameters in the current device param...
MMIND_API_EXPORT ErrorStatus getBoolValue(const std::string ¶meterName, bool &value) const
Gets the current value of a _Bool-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus setFloatValue(const std::string ¶meterName, double value)
Sets the value of a _Float-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus setRangeValue(const std::string ¶meterName, const Range< int > &value)
Sets the value of a _Range-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus rename(const std::string &userSetName)
Renames the current device parameter group.
MMIND_API_EXPORT ErrorStatus setBoolValue(const std::string ¶meterName, bool value)
Sets the value of a _Bool-type device parameter. See Parameter for details.
MMIND_API_EXPORT ErrorStatus getFloatValue(const std::string ¶meterName, double &value) const
Gets the current value of a _Float-type device parameter. See Parameter for details.