Mech-Eye API 2.5.1
API reference documentation for Mech-Eye 3D Laser Profiler
|
#include <VirtualUserSet.h>
Public Member Functions | |
virtual | ~VirtualUserSet () |
Destructor. | |
ErrorStatus | getName (std::string &userSetName) const |
Gets the name of the parameter group used when the virtual device was saved. | |
ErrorStatus | getAvailableParameterNames (std::vector< std::string > ¶meterArrayNames) const |
Gets the names of all available parameters of the virtual device. | |
std::vector< Parameter * > | getAvailableParameters () const |
Returns the pointer to the elements in the vector storing all available parameters. | |
Parameter * | getParameter (const std::string ¶meterName) const |
Gets the pointer to the elements of a specific parameter. | |
Parameter * | operator[] (const std::string ¶meterName) const |
Gets the pointer to the elements of a specific parameter. | |
ErrorStatus | getIntValue (const std::string ¶meterName, int &value) const |
Gets the current value of an _Int-type parameter. See Parameter for details. | |
ErrorStatus | getFloatValue (const std::string ¶meterName, double &value) const |
Gets the current value of a _Float-type parameter. See Parameter for details. | |
ErrorStatus | getBoolValue (const std::string ¶meterName, bool &value) const |
Gets the current value of a _Bool-type parameter. See Parameter for details. | |
ErrorStatus | getEnumValue (const std::string ¶meterName, int &value) const |
Gets the current value of an _Enum-type parameter in the form of the integer value. See Parameter for details. | |
ErrorStatus | getEnumValue (const std::string ¶meterName, std::string &valueStr) const |
Gets the current value of an _Enum-type parameter in the form of a string. See Parameter for details. | |
ErrorStatus | getRoiValue (const std::string ¶meterName, ROI &value) const |
Gets the current value of an _Roi-type parameter. See Parameter for details. | |
ErrorStatus | getProfileRoiValue (const std::string ¶meterName, ProfileROI &value) const |
Gets the current value of an _ProfileRoi-type parameter. See Parameter for details. | |
ErrorStatus | getFloatArrayValue (const std::string ¶meterName, std::vector< double > &value) const |
Gets the current value of a _FloatArray-type parameter. See Parameter for details. | |
ErrorStatus | getRangeValue (const std::string ¶meterName, Range< int > &value) const |
Gets the current value of a _Range-type parameter. See Parameter for details. | |
Friends | |
class | VirtualProfilerImpl |
|
virtual |
Destructor.
ErrorStatus getAvailableParameterNames | ( | std::vector< std::string > & | parameterArrayNames | ) | const |
Gets the names of all available parameters of the virtual device.
[out] | parameterArrayNames | An array storing the parameter names. |
std::vector< Parameter * > getAvailableParameters | ( | ) | const |
Returns the pointer to the elements in the vector storing all available parameters.
ErrorStatus getBoolValue | ( | const std::string & | parameterName, |
bool & | value | ||
) | const |
Gets the current value of a _Bool-type parameter. See Parameter for details.
ErrorStatus getEnumValue | ( | const std::string & | parameterName, |
int & | value | ||
) | const |
Gets the current value of an _Enum-type parameter in the form of the integer value. See Parameter for details.
ErrorStatus getEnumValue | ( | const std::string & | parameterName, |
std::string & | valueStr | ||
) | const |
Gets the current value of an _Enum-type parameter in the form of a string. See Parameter for details.
ErrorStatus getFloatArrayValue | ( | const std::string & | parameterName, |
std::vector< double > & | value | ||
) | const |
Gets the current value of a _FloatArray-type parameter. See Parameter for details.
ErrorStatus getFloatValue | ( | const std::string & | parameterName, |
double & | value | ||
) | const |
Gets the current value of a _Float-type parameter. See Parameter for details.
ErrorStatus getIntValue | ( | const std::string & | parameterName, |
int & | value | ||
) | const |
Gets the current value of an _Int-type parameter. See Parameter for details.
ErrorStatus getName | ( | std::string & | userSetName | ) | const |
Gets the name of the parameter group used when the virtual device was saved.
[out] | userSetName | The name of the parameter group. |
Parameter * getParameter | ( | const std::string & | parameterName | ) | const |
Gets the pointer to the elements of a specific parameter.
ErrorStatus getProfileRoiValue | ( | const std::string & | parameterName, |
ProfileROI & | value | ||
) | const |
Gets the current value of an _ProfileRoi-type parameter. See Parameter for details.
ErrorStatus getRangeValue | ( | const std::string & | parameterName, |
Range< int > & | value | ||
) | const |
Gets the current value of a _Range-type parameter. See Parameter for details.
ErrorStatus getRoiValue | ( | const std::string & | parameterName, |
ROI & | value | ||
) | const |
Gets the current value of an _Roi-type parameter. See Parameter for details.
Parameter * operator[] | ( | const std::string & | parameterName | ) | const |
Gets the pointer to the elements of a specific parameter.
|
friend |