|
Gocator Development Kit
|
| kStatus GdkParamInfo_AddSource | ( | GdkParamInfo | info, |
| GdkDataSource | source | ||
| ) |
Adds the source perspective of the data to list of source perspectives This is only applicable to parameters of type DataInput and will automatically have GDK_DATA_SOURCE_TOP added for parameters of this type.
For live profile sensors with n-buddy configuration, if the source data from one of the buddies is required, the device's index added to GDK_DATA_SOURCE_DEVICE_BASE would have to be specified to be able to retrieve the corresponding data from that device. For example, if the source data from the second buddy in a 3 sensor buddy configuration is desired, add its device index of 2 to GDK_DATA_SOURCE_DEVICE_BASE = 102 to be used as the data source value for that device.
| info | Info object. |
| source | Enumeration of data source: GDK_DATA_SOURCE_NONE GDK_DATA_SOURCE_TOP GDK_DATA_SOURCE_BOTTOM GDK_DATA_SOURCE_TOP_LEFT GDK_DATA_SOURCE_TOP_RIGHT GDK_DATA_SOURCE_TOP_BOTTOM GDK_DATA_SOURCE_LEFT_RIGHT GDK_DATA_SOURCE_DEVICE_BASE + device index |