![]() |
Mech-Eye API Reference 2.1.4-alpha
API reference documentation for Mech-Eye 3D Laser Profiler
|
Represents a device parameter group. More...
#include <UserSet.h>
Public Member Functions | |
MMIND_API_EXPORT ErrorStatus | getName (std::string &userSetName) const |
Gets the name of the current device parameter group. | |
MMIND_API_EXPORT ErrorStatus | rename (const std::string &userSetName) |
Renames the current device parameter group. | |
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 | 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 std::vector< Parameter * > | getAvailableParameters () const |
Returns the pointer to the element in the vector of all device parameters in the current device parameter group. | |
MMIND_API_EXPORT Parameter * | getParameter (const std::string ¶meterName) const |
Gets the pointer to the elements of a specific device parameter. | |
MMIND_API_EXPORT Parameter * | operator[] (const std::string ¶meterName) const |
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 | setIntValue (const std::string ¶meterName, int value) |
Sets the value of an _Int-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. | |
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 | 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 | setBoolValue (const std::string ¶meterName, bool value) |
Sets the value of a _Bool-type device parameter. See Parameter for details. | |
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 enumerator. 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. See Parameter for details. | |
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 details. | |
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 | 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 | 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 | 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 | 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 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 | setRangeValue (const std::string ¶meterName, const Range< int > &value) |
Sets the value of a _Range-type device parameter. See Parameter for details. | |
Friends | |
class | UserSetManagerImpl |