338 std::vector<double>& value)
const;
354 const std::vector<double>& value);
387 std::shared_ptr<class SettingImpl> _impl;
388 explicit UserSet(
const std::shared_ptr<ZmqClientImpl>& impl);
389 friend class UserSetManagerImpl;
#define MMIND_API_EXPORT
Definition api_global.h:48
Represents a parameter of the device.
Definition Parameter.h:23
ErrorStatus getEnumValue(const std::string ¶meterName, std::string &valueStr) const
Gets the current value of an _Enum-type device parameter in the form of a string. See Parameter for d...
ErrorStatus getIntValue(const std::string ¶meterName, int &value) const
Gets the current value of an _Int-type device parameter. See Parameter for details.
virtual ~UserSet()
Destructor.
ErrorStatus getAvailableParameterNames(std::vector< std::string > ¶meterArrayNames) const
Gets the names of all available device parameters in the current device user set.
ErrorStatus setEnumValue(const std::string ¶meterName, int value)
Sets the value of an _Enum-type device parameter by inputting the integer value. See Parameter for de...
ErrorStatus saveAllParametersToDevice() const
Saves the values of all device parameters in the current device user set to the device.
ErrorStatus getBoolValue(const std::string ¶meterName, bool &value) const
Gets the current value of a _Bool-type device parameter. See Parameter for details.
ErrorStatus getName(std::string &userSetName) const
Gets the name of the current device user set.
ErrorStatus rename(const std::string &newName)
Renames the current device user set.
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....
ErrorStatus getRangeValue(const std::string ¶meterName, Range< int > &value) const
Gets the current value of a _Range-type device parameter. See Parameter for details.
ErrorStatus setProfileRoiValue(const std::string ¶meterName, const ProfileROI &value)
Sets the value of an _ProfileRoi-type device parameter. See Parameter for details.
ErrorStatus getRoiValue(const std::string ¶meterName, ROI &value) const
Gets the current value of an _Roi-type device parameter. See Parameter for details.
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.
ErrorStatus setBoolValue(const std::string ¶meterName, bool value)
Sets the value of a _Bool-type device parameter. See Parameter for details.
ErrorStatus setIntValue(const std::string ¶meterName, int value)
Sets the value of an _Int-type device parameter. See Parameter for details.
ErrorStatus resetAllParametersToDefaultValues()
Resets all device parameters in the current device user set to default values.
Parameter * getParameter(const std::string ¶meterName) const
Gets the pointer to the specified device parameter.
ErrorStatus getProfileRoiValue(const std::string ¶meterName, ProfileROI &value) const
Gets the current value of an _ProfileRoi-type device parameter. See Parameter for details.
std::vector< Parameter * > getAvailableParameters() const
Returns the pointers to the elements in the vector storing all available parameters.
ErrorStatus setRangeValue(const std::string ¶meterName, const Range< int > &value)
Sets the value of a _Range-type device parameter. See Parameter for details.
ErrorStatus setRoiValue(const std::string ¶meterName, const ROI &value)
Sets the value of an _Roi-type device parameter. See Parameter for details.
ErrorStatus setFloatArrayValue(const std::string ¶meterName, const std::vector< double > &value)
Sets the value of a _FloatArray-type device parameter. See Parameter for details.
Parameter * operator[](const std::string ¶meterName) const
Gets the pointer to the specified device parameter.
ErrorStatus getRoiArrayValue(const std::string ¶meterName, std::vector< ROI > &value) const
Gets the current value of a _RoiArray-type device parameter. See Parameter for details.
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.
ErrorStatus setFloatValue(const std::string ¶meterName, double value)
Sets the value of a _Float-type device parameter. See Parameter for details.
ErrorStatus getFloatValue(const std::string ¶meterName, double &value) const
Gets the current value of a _Float-type device parameter. See Parameter for details.
Describes the types of errors.
Definition ErrorStatus.h:12
Describes the region of interest (ROI) of a laser profiler.
Definition CommonTypes.h:85
Describes a region of interest (ROI).
Definition CommonTypes.h:67
Describes a value range.
Definition CommonTypes.h:29