The builder interface of Properties. Allows for construction of Properties through the build
method.
More...
The builder interface of Properties. Allows for construction of Properties through the build
method.
Contains setters for the Property fields. The setters take as parameters openDAQ objects, even if the value must always evaluate to, for example, a boolean. This allows for EvalValue objects to be set instead of a static value.
The EvalValue objects can evaluate to Boolean, String, List, Unit, and Property types. and can thus be used when such types are expected from the getters.
The Property can be built by calling the build
method.
|
virtual ErrCode INTERFACE_FUNC | build (IProperty **property)=0 |
| Builds and returns a Property using the currently set values of the Builder. More...
|
|
virtual ErrCode INTERFACE_FUNC | setValueType (CoreType type)=0 |
| Sets the Value type of the Property. Values written to the corresponding Property value must be of the same type. More...
|
|
virtual ErrCode INTERFACE_FUNC | getValueType (CoreType *type)=0 |
| Gets the Value type of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | setName (IString *name)=0 |
| Sets the Name of the Property. The names of Properties in a Property object must be unique. The name is used as the key to the corresponding Property value when getting/setting the value. More...
|
|
virtual ErrCode INTERFACE_FUNC | getName (IString **name)=0 |
| Gets the Name of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | setDescription (IString *description)=0 |
| Sets the short string Description of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | getDescription (IString **description)=0 |
| Gets the short string Description of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | setUnit (IUnit *unit)=0 |
| Sets the Unit of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | getUnit (IUnit **unit)=0 |
| Gets the Unit of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | setMinValue (INumber *min)=0 |
| Sets the Minimum value of the Property. Available only if the Value type is ctInt or ctFloat . More...
|
|
virtual ErrCode INTERFACE_FUNC | getMinValue (INumber **min)=0 |
| Gets the Minimum value of the Property. Available only if the Value type is ctInt or ctFloat . More...
|
|
virtual ErrCode INTERFACE_FUNC | setMaxValue (INumber *max)=0 |
| Sets the Maximum value of the Property. Available only if the Value type is ctInt or ctFloat . More...
|
|
virtual ErrCode INTERFACE_FUNC | getMaxValue (INumber **max)=0 |
| Gets the Maximum value of the Property. Available only if the Value type is ctInt or ctFloat . More...
|
|
virtual ErrCode INTERFACE_FUNC | setDefaultValue (IBaseObject *value)=0 |
| Sets the Default value of the Property. The Default value must always be configured for a Property to be in a valid state. Exceptions are Function/Procedure and Reference properties. The function will freeze default value if it is freezable. More...
|
|
virtual ErrCode INTERFACE_FUNC | getDefaultValue (IBaseObject **value)=0 |
| Gets the Default value of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | setSuggestedValues (IList *values)=0 |
| Sets the list of Suggested values. Contains values that are the optimal settings for the corresponding Property value. These values, however, are not enforced when setting a new Property value. More...
|
|
virtual ErrCode INTERFACE_FUNC | getSuggestedValues (IList **values)=0 |
| Gets the list of Suggested values. Contains values that are the optimal gettings for the corresponding Property value. These values, however, are not enforced when getting a new Property value. More...
|
|
virtual ErrCode INTERFACE_FUNC | setVisible (IBoolean *visible)=0 |
| Used to determine whether the property is visible or not. More...
|
|
virtual ErrCode INTERFACE_FUNC | getVisible (IBoolean **visible)=0 |
| Used to determine whether the property is visible or not. More...
|
|
virtual ErrCode INTERFACE_FUNC | setReadOnly (IBoolean *readOnly)=0 |
| Used to determine whether the Property is a read-only property or not. More...
|
|
virtual ErrCode INTERFACE_FUNC | getReadOnly (IBoolean **readOnly)=0 |
| Used to determine whether the Property is a read-only property or not. More...
|
|
virtual ErrCode INTERFACE_FUNC | setSelectionValues (IBaseObject *values)=0 |
| Sets the list or dictionary of selection values. If the list/dictionary is not empty, the property is a Selection property, and must have the Value type ctInt . More...
|
|
virtual ErrCode INTERFACE_FUNC | getSelectionValues (IBaseObject **values)=0 |
| Gets the list or dictionary of selection values. More...
|
|
virtual ErrCode INTERFACE_FUNC | setReferencedProperty (IEvalValue *propertyEval)=0 |
| Sets the referenced property. If set, all getters except for the Name , Referenced property , and Is referenced getters will return the value of the Referenced property . More...
|
|
virtual ErrCode INTERFACE_FUNC | getReferencedProperty (IEvalValue **propertyEval)=0 |
| Gets the referenced property. More...
|
|
virtual ErrCode INTERFACE_FUNC | setValidator (IValidator *validator)=0 |
| Sets the validator of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | getValidator (IValidator **validator)=0 |
| Gets the validator of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | setCoercer (ICoercer *coercer)=0 |
| Sets the coercer of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | getCoercer (ICoercer **coercer)=0 |
| Gets the coercer of the Property. More...
|
|
virtual ErrCode INTERFACE_FUNC | setCallableInfo (ICallableInfo *callable)=0 |
| Sets the Callable information objects of the Property that specifies the argument and return types of the callable object stored as the Property value. More...
|
|
virtual ErrCode INTERFACE_FUNC | getCallableInfo (ICallableInfo **callable)=0 |
| Gets the Callable information objects of the Property that specifies the argument and return types of the callable object stored as the Property value. More...
|
|
virtual ErrCode INTERFACE_FUNC | setOnPropertyValueWrite (IEvent *event)=0 |
| Sets a custom on-write event. Used mostly when cloning properties. More...
|
|
virtual ErrCode INTERFACE_FUNC | getOnPropertyValueWrite (IEvent **event)=0 |
| Gets a custom on-write event. Used mostly when cloning properties. More...
|
|
virtual ErrCode INTERFACE_FUNC | setOnPropertyValueRead (IEvent *event)=0 |
| Sets a custom on-read event. Used mostly when cloning properties. More...
|
|
virtual ErrCode INTERFACE_FUNC | getOnPropertyValueRead (IEvent **event)=0 |
| Gets a custom on-read event. Used mostly when cloning properties. More...
|
|
virtual ErrCode INTERFACE_FUNC | borrowInterface (const IntfID &intfID, void **obj) const =0 |
| Returns another interface which is supported by the object without incrementing the reference count. More...
|
|
virtual ErrCode INTERFACE_FUNC | dispose ()=0 |
| Disposes all references held by the object. More...
|
|
virtual ErrCode INTERFACE_FUNC | getHashCode (SizeT *hashCode)=0 |
| Returns hash code of the object. More...
|
|
virtual ErrCode INTERFACE_FUNC | equals (IBaseObject *other, Bool *equal) const =0 |
| Compares object to another object for equality. More...
|
|
virtual ErrCode INTERFACE_FUNC | toString (CharPtr *str)=0 |
| Returns a string representation of the object. More...
|
|
virtual ErrCode INTERFACE_FUNC | queryInterface (const IntfID &intfID, void **obj)=0 |
| Returns another interface which is supported by the object and increments the reference count. More...
|
|
virtual int INTERFACE_FUNC | addRef ()=0 |
| Increments the reference count for an interface on an object. More...
|
|
virtual int INTERFACE_FUNC | releaseRef ()=0 |
| Decrements the reference count for an interface on an object. More...
|
|