Package org.robwork.sdurw_core
Class PropertyValueVector_d
- java.lang.Object
-
- org.robwork.sdurw_core.PropertyValueBase
-
- org.robwork.sdurw_core.PropertyValueVector_d
-
public class PropertyValueVector_d extends PropertyValueBase
PropertyValue class
The PropertyValue class is a template to support property values of any
type.
-
-
Constructor Summary
Constructors Constructor Description PropertyValueVector_d(long cPtr, boolean cMemoryOwn)
PropertyValueVector_d(PropertyType type, vector_d value)
Constructs PropertyValue.PropertyValueVector_d(vector_d value)
Constructs PropertyValue.
Constructs a PropertyValue and tries to auto detect the type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyValueBase
clone()
Construct a clone of the property value.
void
delete()
static long
getCPtr(PropertyValueVector_d obj)
vector_d
getValue()
Returns a reference to the property value.
Note: Changing the value returned by reference will NOT fire the
changed event.void
setValue(vector_d value)
Sets the property value.
This function will fire the changed event.
-
Methods inherited from class org.robwork.sdurw_core.PropertyValueBase
getCPtr, getType
-
-
-
-
Constructor Detail
-
PropertyValueVector_d
public PropertyValueVector_d(long cPtr, boolean cMemoryOwn)
-
PropertyValueVector_d
public PropertyValueVector_d(vector_d value)
Constructs PropertyValue.
Constructs a PropertyValue and tries to auto detect the type.
- Parameters:
value
- [in] value
-
PropertyValueVector_d
public PropertyValueVector_d(PropertyType type, vector_d value)
Constructs PropertyValue.- Parameters:
type
- [in] type of propertyvalue
- [in] value
-
-
Method Detail
-
getCPtr
public static long getCPtr(PropertyValueVector_d obj)
-
delete
public void delete()
- Overrides:
delete
in classPropertyValueBase
-
getValue
public vector_d getValue()
Returns a reference to the property value.
Note: Changing the value returned by reference will NOT fire the
changed event. Please consider using the setValue function if
possible, or fire the event manually on change, by calling
changedEvent().fire()
- Returns:
- reference to the property value.
-
setValue
public void setValue(vector_d value)
Sets the property value.
This function will fire the changed event.
- Parameters:
value
- [in] the new value of the Property
-
clone
public PropertyValueBase clone()
Description copied from class:PropertyValueBase
Construct a clone of the property value.
- Overrides:
clone
in classPropertyValueBase
- Returns:
- a clone.
-
-