7#include "ErrorStatus.h"
8#include "CommonTypes.h"
24 friend class ParameterFactory;
70 std::shared_ptr<class ParameterImpl> _impl;
71 Parameter(
const std::string& name,
const std::shared_ptr<ZmqClientImpl>&
client,
113 using Parameter::Parameter;
153 using Parameter::Parameter;
189 using Parameter::Parameter;
209 using Parameter::Parameter;
234 using Parameter::Parameter;
264 using Parameter::Parameter;
279 using Parameter::Parameter;
319 using Parameter::Parameter;
364 using Parameter::Parameter;
Represents a 2D container of data.
Represents a _Bool-type device parameter.
ErrorStatus setValue(bool value)
Sets the value of the device parameter.
ErrorStatus getValue(bool &value) const
Gets the current value of the device parameter.
Represents an _Enum-type device parameter.
ErrorStatus getValues(std::map< std::string, int > &valueList) const
Gets the list of available values of the device parameter in the form of a map.
ErrorStatus getValue(std::string &valueStr) const
Gets the current value of the device parameter in the form of a string.
ErrorStatus getValue(int &value) const
Gets the current value of the device parameter in the form of the integer value.
ErrorStatus setValue(int value)
Sets the value of the device parameter by inputting the integer value of an enumerator.
ErrorStatus setValue(const std::string &value)
Sets the value of the device parameter by inputting a string.
Represents a _FloatArray-type device parameter.
ErrorStatus getMin(double &min) const
Gets the minimum settable value of the device parameter.
ErrorStatus getMaxArraySize(int &maxSize) const
Gets the maximum settable size of the vector.
ErrorStatus getValue(std::vector< double > &value) const
Gets the current value of the device parameter.
ErrorStatus getUnit(std::string &unit) const
Gets the unit of the device parameter.
ErrorStatus getMax(double &max) const
Gets the maximum settable value of the device parameter.
ErrorStatus getStep(double &step) const
Gets the adjustment step size of the device parameter.
ErrorStatus setValue(const std::vector< double > &value)
Sets the value of the device parameter.
Represents a _Float-type device parameter.
ErrorStatus getStep(double &step) const
Gets the adjustment step size of the device parameter.
ErrorStatus setValue(double value)
Sets the value of the device parameter.
ErrorStatus getMin(double &min) const
Gets the minimum settable value of the device parameter.
ErrorStatus getValue(double &value) const
Gets the current value of the device parameter.
ErrorStatus getMax(double &max) const
Gets the maximum settable value of the device parameter.
ErrorStatus getUnit(std::string &unit) const
Gets the unit of the device parameter.
Represents an _Int-type device parameter.
ErrorStatus getUnit(std::string &unit) const
Gets the unit of the device parameter.
ErrorStatus getMax(int &max) const
Gets the maximum settable value of the device parameter.
ErrorStatus setValue(int value)
Sets the value of the device parameter.
ErrorStatus getMin(int &min) const
Gets the minimum settable value of the device parameter.
ErrorStatus getStep(int &step) const
Gets the adjustment step size of the device parameter.
ErrorStatus getValue(int &value) const
Gets the current value of the device parameter.
Represents a parameter of the device.
std::string description() const
Returns the description of the device parameter.
std::string name() const
Returns the name of the device parameter.
bool isWritable() const
Returns a Boolean value that indicates the write permission of the device parameter.
bool isReadable() const
Returns a Boolean value that indicates the read permission of the device parameter.
Type type() const
Returns the data type of the device parameter.
Type
Describes the device parameter data types.
@ _RoiArray
Vector of ROI types.
@ _Roi
ROI type. See ROI for details.
@ _Range
Range type. See Range for details.
@ _FloatArray
Vector of double types.
Represents an _ProfileRoi-type device parameter.
ErrorStatus getMinRoiSize(SizeF &minSize) const
Gets the minimum settable value of the device parameter.
ErrorStatus getValue(ProfileROI &value) const
Gets the current value of the device parameter.
ErrorStatus getMaxRoiSize(SizeF &maxSize) const
Gets the maximum settable value of the device parameter.
ErrorStatus setValue(ProfileROI value)
Sets the value of the device parameter.
Represents a _Range-type device parameter.
ErrorStatus getMax(int &max) const
Gets the maximum settable value of the device parameter.
ErrorStatus setValue(Range< int > value)
Sets the value of the device parameter.
ErrorStatus getStep(int &step) const
Gets the adjustment step size of the device parameter.
ErrorStatus getUnit(std::string &unit) const
Gets the unit of the device parameter.
ErrorStatus getValue(Range< int > &value) const
Gets the current value of the device parameter.
ErrorStatus getMin(int &min) const
Gets the minimum settable value of the device parameter.
Represents an _RoiArray-type device parameter.
ErrorStatus getValue(std::vector< ROI > &value) const
Gets the current value of the device parameter.
Represents an _Roi-type device parameter.
ErrorStatus setValue(ROI value)
Sets the value of the device parameter.
ErrorStatus getValue(ROI &value) const
Gets the current value of the device parameter.
ErrorStatus getMaxRoiSize(Size &maxSize) const
Gets the maximum settable value of the device parameter.
Describes the types of errors.
Describes the region of interest (ROI) of a laser profiler.
Describes a region of interest (ROI).
Describes a two-dimensional size with a width and a height using double-precision floating-point numb...
Describes a two-dimensional size with a width and a height.