IceProperties stores ice properties and resolves property inheritance.
This Ice property container supports inheritance. That is, a namespace can inherit all properties defined within another namespace. Inherited properties can also be overridden if redefined.
Additionally, there exists a stringreplacement namespace "Variables", which can be used to define variables that will be searched in the property values of namespaces that inherit from the "Variables" namespace. In case a property has a matching string, this string is replaced with the value of the global variable.
<namespace>.inheritFrom = <namespace>
Example config:
ArmarX.CommonProperties.FrameRate = 30
ArmarX.CommonProperties.ColorMode = HSV
ArmarX.CommonProperties.ShutterSpeed = 0.003
ArmarX.CommonProperties.Aperture = 1.2
ArmarX.CommonProperties.WhiteBalance = Auto
ArmarX.CommonProperties.Metering = CenteredMean
ArmarX.CommonProperties.Resolution = 640x480
ArmarX.CommonProperties.CropFactor = 1.5
Variables.Prefix = Local
VisionX.MyCapturer1.inheritFrom = ArmarX.CommonProperties
VisionX.MyCapturer1.inheritFrom = Variables
VisionX.MyCapturer1.ColorMode = RGB
VisionX.MyCapturer1.ObjectName = {Prefix}_MyCapturer1
VisionX.MyCapturer2.inheritFrom = ArmarX.CommonProperties
VisionX.MyCapturer2.ShutterSpeed = 0.001
VisionX.MyCapturer3.FrameRate = 60
VisionX.MyCapturer3.inheritFrom = ArmarX.CommonProperties
The result is:
ArmarX.CommonProperties.FrameRate = 30
...
...
ArmarX.CommonProperties.CropFactor = 1.5
VisionX.MyCapturer1.FrameRate = 30
VisionX.MyCapturer1.ColorMode = RGB
VisionX.MyCapturer1.ShutterSpeed = 0.003
VisionX.MyCapturer1.Aperture = 1.2
VisionX.MyCapturer1.WhiteBalance = Auto
VisionX.MyCapturer1.Metering = CenteredMean
VisionX.MyCapturer1.Resolution = 640x480
VisionX.MyCapturer1.CropFactor = 1.5
VisionX.MyCapturer1.ObjectName = Local_MyCapturer1
VisionX.MyCapturer2.ColorMode = HSV
VisionX.MyCapturer2.ShutterSpeed = 0.001
VisionX.MyCapturer2.Aperture = 1.2
VisionX.MyCapturer2.WhiteBalance = Auto
VisionX.MyCapturer2.Metering = CenteredMean
VisionX.MyCapturer2.Resolution = 640x480
VisionX.MyCapturer2.CropFactor = 1.5
VisionX.MyCapturer3.FrameRate = 60
VisionX.MyCapturer3.ColorMode = HSV
VisionX.MyCapturer3.ShutterSpeed = 0.003
VisionX.MyCapturer3.Aperture = 1.2
VisionX.MyCapturer3.WhiteBalance = Auto
VisionX.MyCapturer3.Metering = CenteredMean
VisionX.MyCapturer3.Resolution = 640x480
VisionX.MyCapturer3.CropFactor = 1.5
Definition at line 120 of file IceProperties.h.