Mech-Eye API 2.3.3
API reference documentation for Mech-Eye Industrial 3D Camera
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
mmind::eye::VirtualUserSet Class Reference

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 > &parameterArrayNames) 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.
 
ParametergetParameter (const std::string &parameterName) const
 Gets the pointer to the elements of a specific parameter.
 
Parameteroperator[] (const std::string &parameterName) const
 Gets the pointer to the elements of a specific parameter.
 
ErrorStatus getIntValue (const std::string &parameterName, int &value) const
 Gets the current value of an _Int-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 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 getRoiValue (const std::string &parameterName, ROI &value) const
 Gets the current value of an _Roi-type parameter. 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 getRangeValue (const std::string &parameterName, Range< int > &value) const
 Gets the current value of a _Range-type parameter. See Parameter for details.
 

Friends

class VirtualProfilerImpl
 

Detailed Description

Definition at line 12 of file VirtualUserSet.h.

Member Function Documentation

◆ getAvailableParameterNames()

ErrorStatus mmind::eye::VirtualUserSet::getAvailableParameterNames ( std::vector< std::string > & parameterArrayNames) const

Gets the names of all available parameters of the virtual device.

Parameters
[out]parameterArrayNamesAn array storing the parameter names.
Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.

◆ getBoolValue()

ErrorStatus mmind::eye::VirtualUserSet::getBoolValue ( const std::string & parameterName,
bool & value ) const

Gets the current value of a _Bool-type parameter. See Parameter for details.

Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.
ErrorStatus::MMIND_STATUS_PARAMETER_ERROR Parameter not found, please check the input parameter name.

◆ getEnumValue() [1/2]

ErrorStatus mmind::eye::VirtualUserSet::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.

Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.
ErrorStatus::MMIND_STATUS_PARAMETER_ERROR Parameter not found, please check the input parameter name.

◆ getEnumValue() [2/2]

ErrorStatus mmind::eye::VirtualUserSet::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.

Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.
ErrorStatus::MMIND_STATUS_PARAMETER_ERROR Parameter not found, please check the input parameter name.

◆ getFloatArrayValue()

ErrorStatus mmind::eye::VirtualUserSet::getFloatArrayValue ( const std::string & parameterName,
std::vector< double > & value ) const

Gets the current value of a _FloatArray-type parameter. See Parameter for details.

Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.
ErrorStatus::MMIND_STATUS_PARAMETER_ERROR Parameter not found, please check the input parameter name.

◆ getFloatValue()

ErrorStatus mmind::eye::VirtualUserSet::getFloatValue ( const std::string & parameterName,
double & value ) const

Gets the current value of a _Float-type parameter. See Parameter for details.

Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.
ErrorStatus::MMIND_STATUS_PARAMETER_ERROR Parameter not found, please check the input parameter name.

◆ getIntValue()

ErrorStatus mmind::eye::VirtualUserSet::getIntValue ( const std::string & parameterName,
int & value ) const

Gets the current value of an _Int-type parameter. See Parameter for details.

Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.
ErrorStatus::MMIND_STATUS_PARAMETER_ERROR Parameter not found, please check the input parameter name.

◆ getName()

ErrorStatus mmind::eye::VirtualUserSet::getName ( std::string & userSetName) const

Gets the name of the parameter group used when the virtual device was saved.

Parameters
[out]userSetNameThe name of the parameter group.
Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.

◆ getRangeValue()

ErrorStatus mmind::eye::VirtualUserSet::getRangeValue ( const std::string & parameterName,
Range< int > & value ) const

Gets the current value of a _Range-type parameter. See Parameter for details.

Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.
ErrorStatus::MMIND_STATUS_PARAMETER_ERROR Parameter not found, please check the input parameter name.

◆ getRoiValue()

ErrorStatus mmind::eye::VirtualUserSet::getRoiValue ( const std::string & parameterName,
ROI & value ) const

Gets the current value of an _Roi-type parameter. See Parameter for details.

Returns
ErrorStatus::MMIND_STATUS_SUCCESS Success.
ErrorStatus::MMIND_STATUS_PARAMETER_ERROR Parameter not found, please check the input parameter name.

Friends And Related Symbol Documentation

◆ VirtualProfilerImpl

friend class VirtualProfilerImpl
friend

Definition at line 135 of file VirtualUserSet.h.


The documentation for this class was generated from the following file: