CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
|
A DynamicDataWriter process data samples in DynamicData form. More...
A DynamicDataWriter process data samples in DynamicData form.
ReturnCode_t com.toc.coredx.dynamictype.DynamicDataWriter.dispose | ( | DynamicData | instance_data, |
InstanceHandle_t | handle | ||
) |
Indicates that the instance no longer exists. If handle is not HANDLE_NIL, then handle must identify a valid instance that has been previously registered or written by this DataWriter. The current time is used as the source timstamp.
ReturnCode_t com.toc.coredx.dynamictype.DynamicDataWriter.dispose_w_timestamp | ( | DynamicData | instance_data, |
InstanceHandle_t | handle, | ||
Time_t | timestamp | ||
) |
Indicates that the instance no longer exists. If handle is not HANDLE_NIL, then handle must identify a valid instance that has been previously registered or written by this DataWriter. The source_timestamp is used as the source timstamp for the published message.
ReturnCode_t com.toc.coredx.dynamictype.DynamicDataWriter.get_key_value | ( | DynamicData | key_holder, |
InstanceHandle_t | handle | ||
) |
This routine will populate the data structure indicated by key_holder with the key infomation identified by handle.
InstanceHandle_t com.toc.coredx.dynamictype.DynamicDataWriter.lookup_instance | ( | DynamicData | instance_data | ) |
Returns the handle that identifies the data instance provided in instance_data. The 'key' field values of the data are associated with a unique handle.
InstanceHandle_t com.toc.coredx.dynamictype.DynamicDataWriter.register_instance | ( | DynamicData | instance_data | ) |
Declares the existance of an instance identified by the 'key fields' in instance_data. The handle that uniquely identifies the instance is returned. The current time is used as the source timestamp.
InstanceHandle_t com.toc.coredx.dynamictype.DynamicDataWriter.register_instance_w_timestamp | ( | DynamicData | instance_data, |
Time_t | ts | ||
) |
Declares the existance of an instance identified by the 'key fields' in instance_data. The handle that uniquely identifies the instance is returned. The source_timestamp is used as the source timestamp.
ReturnCode_t com.toc.coredx.dynamictype.DynamicDataWriter.unregister_instance | ( | DynamicData | instance_data, |
InstanceHandle_t | handle | ||
) |
Indicates that the writer will no longer be providing updates the specified instance. If handle is not HANDLE_NIL, then handle must identify a valid instance that has been previously registered or written by this DataWriter. The current time is used as the source timstamp.
ReturnCode_t com.toc.coredx.dynamictype.DynamicDataWriter.unregister_instance_w_timestamp | ( | DynamicData | instance_data, |
InstanceHandle_t | handle, | ||
Time_t | timestamp | ||
) |
Indicates that the writer will no longer be providing updates the specified instance. If handle is not HANDLE_NIL, then handle must identify a valid instance that has been previously registered or written by this DataWriter. The provided source_timestamp is used as the source timstamp.
ReturnCode_t com.toc.coredx.dynamictype.DynamicDataWriter.write | ( | DynamicData | instance_data, |
InstanceHandle_t | handle | ||
) |
Publishes the provided instance_data. If handle is HANDLE_NIL, then the handle is determined from the 'key fields' of instance_data.
The current time is used as the source timestamp for the published data.
This routine may block if RELIABILITY kind == RELIABLE, RESOURCE_LIMITS are not UNLIMITED, and the local resources are exhausted. The routine will block at most 'max_blocking_time' as configured in the RELIABLITY QoS. If the routine is still unable to handle the data, after blocking, then RETCODE_TIMEOUT is returned.
The routine may return RETCODE_OUT_OF_RESOURCES if it is determined that no amount of blocking will allow the data to be processed.
On success, RETCODE_OK is returned.
ReturnCode_t com.toc.coredx.dynamictype.DynamicDataWriter.write_w_timestamp | ( | DynamicData | instance_data, |
InstanceHandle_t | handle, | ||
Time_t | timestamp | ||
) |
Publishes the provided instance_data. If handle is HANDLE_NIL, then the handle is determined from the 'key fields' of instance_data.
The source_timestamp is used as the source timestamp for the published data.
This routine may block if RELIABILITY kind == RELIABLE, RESOURCE_LIMITS are not UNLIMITED, and the local resources are exhausted. The routine will block at most 'max_blocking_time' as configured in the RELIABLITY QoS. If the routine is still unable to handle the data, after blocking, then RETCODE_TIMEOUT is returned.
The routine may return RETCODE_OUT_OF_RESOURCES if it is determined that no amount of blocking will allow the data to be processed.
On success, RETCODE_OK is returned.