DataWriter
< DDS_KeyedOctets >.
More...
Public Member Functions | |
virtual DDS_InstanceHandle_t | register_instance (const DDS_KeyedOctets &instance_data) |
Informs RTI Connext that the application will be modifying a particular instance. | |
virtual DDS_InstanceHandle_t | register_instance (const char *key) |
<<eXtension>> Informs RTI Connext that the application will be modifying a particular instance. | |
virtual DDS_InstanceHandle_t | register_instance_w_timestamp (const DDS_KeyedOctets &instance_data, const DDS_Time_t &source_timestamp) |
Performs the same functions as DDSKeyedOctetsDataWriter::register_instance except that the application provides the value for the source_timestamp . | |
virtual DDS_InstanceHandle_t | register_instance_w_timestamp (const char *key, const DDS_Time_t &source_timestamp) |
<<eXtension>> Performs the same functions as DDSKeyedOctetsDataWriter::register_instance except that the application provides the value for the source_timestamp . | |
virtual DDS_ReturnCode_t | unregister_instance (const DDS_KeyedOctets &instance_data, const DDS_InstanceHandle_t &handle) |
Reverses the action of DDSKeyedOctetsDataWriter::register_instance. | |
virtual DDS_ReturnCode_t | unregister_instance (const char *key, const DDS_InstanceHandle_t &handle) |
<<eXtension>> Reverses the action of DDSKeyedOctetsDataWriter::register_instance. | |
virtual DDS_ReturnCode_t | unregister_instance_w_timestamp (const DDS_KeyedOctets &instance_data, const DDS_InstanceHandle_t &handle, const DDS_Time_t &source_timestamp) |
Performs the same function as DDSKeyedOctetsDataWriter::unregister_instance except that it also provides the value for the source_timestamp . | |
virtual DDS_ReturnCode_t | unregister_instance_w_timestamp (const char *key, const DDS_InstanceHandle_t &handle, const DDS_Time_t &source_timestamp) |
Performs the same function as DDSKeyedOctetsDataWriter::unregister_instance except that it also provides the value for the source_timestamp . | |
virtual DDS_ReturnCode_t | write (const DDS_KeyedOctets &instance_data, const DDS_InstanceHandle_t &handle) |
Modifies the value of a DDS_KeyedOctets data instance. | |
virtual DDS_ReturnCode_t | write (const char *key, const unsigned char *octets, int length, const DDS_InstanceHandle_t &handle) |
<<eXtension>> Modifies the value of a DDS_KeyedOctets data instance. | |
virtual DDS_ReturnCode_t | write (const char *key, const DDS_OctetSeq &octets, const DDS_InstanceHandle_t &handle) |
<<eXtension>> Modifies the value of a DDS_KeyedOctets data instance. | |
virtual DDS_ReturnCode_t | write_w_timestamp (const DDS_KeyedOctets &instance_data, const DDS_InstanceHandle_t &handle, const DDS_Time_t &source_timestamp) |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also provides the value for the source_timestamp . | |
virtual DDS_ReturnCode_t | write_w_timestamp (const char *key, const unsigned char *octets, int length, const DDS_InstanceHandle_t &handle, const DDS_Time_t &source_timestamp) |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also provides the value for the source_timestamp . | |
virtual DDS_ReturnCode_t | write_w_timestamp (const char *key, const DDS_OctetSeq &octets, const DDS_InstanceHandle_t &handle, const DDS_Time_t &source_timestamp) |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also provides the value for the source_timestamp . | |
virtual DDS_ReturnCode_t | write_w_params (const DDS_KeyedOctets &instance_data, const DDS_WriteParams_t ¶ms) |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also allows specification of the instance handle, source timestamp, publication priority, and cookie. | |
virtual DDS_ReturnCode_t | write_w_params (const char *key, const unsigned char *octets, int length, const DDS_WriteParams_t ¶ms) |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also allows specification of the instance handle, source timestamp, publication priority, and cookie. | |
virtual DDS_ReturnCode_t | write_w_params (const char *key, const DDS_OctetSeq &octets, const DDS_WriteParams_t ¶ms) |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also allows specification of the instance handle, source timestamp, publication priority, and cookie. | |
virtual DDS_ReturnCode_t | dispose (const DDS_KeyedOctets &instance_data, const DDS_InstanceHandle_t &handle) |
Requests the middleware to delete the data. | |
virtual DDS_ReturnCode_t | dispose (const char *key, const DDS_InstanceHandle_t &instance_handle) |
<<eXtension>> Requests the middleware to delete the data. | |
virtual DDS_ReturnCode_t | dispose_w_timestamp (const DDS_KeyedOctets &instance_data, const DDS_InstanceHandle_t &handle, const DDS_Time_t &source_timestamp) |
Performs the same functions as DDSKeyedOctetsDataWriter::dispose except that the application provides the value for the source_timestamp that is made available to DDSDataReader objects by means of the source_timestamp attribute inside the DDS_SampleInfo. | |
virtual DDS_ReturnCode_t | dispose_w_timestamp (const char *key, const DDS_InstanceHandle_t &instance_handle, const DDS_Time_t &source_timestamp) |
<<eXtension>> Performs the same functions as DDSKeyedOctetsDataWriter::dispose except that the application provides the value for the source_timestamp that is made available to DDSDataReader objects by means of the source_timestamp attribute inside the DDS_SampleInfo. | |
virtual DDS_ReturnCode_t | get_key_value (DDS_KeyedOctets &key_holder, const DDS_InstanceHandle_t &handle) |
Retrieve the instance key that corresponds to an instance handle . | |
virtual DDS_ReturnCode_t | get_key_value (char *key, const DDS_InstanceHandle_t &handle) |
<<eXtension>> Retrieve the instance key that corresponds to an instance handle . | |
virtual DDS_InstanceHandle_t | lookup_instance (const DDS_KeyedOctets &key_holder) |
Retrieve the instance handle that corresponds to an instance key_holder . | |
virtual DDS_InstanceHandle_t | lookup_instance (const char *key) |
<<eXtension>> Retrieve the instance handle that corresponds to an instance key . | |
Static Public Member Functions | |
static DDSKeyedOctetsDataWriter * | narrow (DDSDataWriter *writer) |
Narrow the given DDSDataWriter pointer to a DDSKeyedOctetsDataWriter pointer. |
DataWriter
< DDS_KeyedOctets >.
static DDSKeyedOctetsDataWriter* DDSKeyedOctetsDataWriter::narrow | ( | DDSDataWriter * | writer | ) | [static] |
Narrow the given DDSDataWriter pointer to a DDSKeyedOctetsDataWriter pointer.
virtual DDS_InstanceHandle_t DDSKeyedOctetsDataWriter::register_instance | ( | const DDS_KeyedOctets & | instance_data | ) | [virtual] |
Informs RTI Connext that the application will be modifying a particular instance.
virtual DDS_InstanceHandle_t DDSKeyedOctetsDataWriter::register_instance | ( | const char * | key | ) | [virtual] |
<<eXtension>> Informs RTI Connext that the application will be modifying a particular instance.
virtual DDS_InstanceHandle_t DDSKeyedOctetsDataWriter::register_instance_w_timestamp | ( | const DDS_KeyedOctets & | instance_data, | |
const DDS_Time_t & | source_timestamp | |||
) | [virtual] |
Performs the same functions as DDSKeyedOctetsDataWriter::register_instance except that the application provides the value for the source_timestamp
.
virtual DDS_InstanceHandle_t DDSKeyedOctetsDataWriter::register_instance_w_timestamp | ( | const char * | key, | |
const DDS_Time_t & | source_timestamp | |||
) | [virtual] |
<<eXtension>> Performs the same functions as DDSKeyedOctetsDataWriter::register_instance except that the application provides the value for the source_timestamp
.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::unregister_instance | ( | const DDS_KeyedOctets & | instance_data, | |
const DDS_InstanceHandle_t & | handle | |||
) | [virtual] |
Reverses the action of DDSKeyedOctetsDataWriter::register_instance.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::unregister_instance | ( | const char * | key, | |
const DDS_InstanceHandle_t & | handle | |||
) | [virtual] |
<<eXtension>> Reverses the action of DDSKeyedOctetsDataWriter::register_instance.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::unregister_instance_w_timestamp | ( | const DDS_KeyedOctets & | instance_data, | |
const DDS_InstanceHandle_t & | handle, | |||
const DDS_Time_t & | source_timestamp | |||
) | [virtual] |
Performs the same function as DDSKeyedOctetsDataWriter::unregister_instance except that it also provides the value for the source_timestamp
.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::unregister_instance_w_timestamp | ( | const char * | key, | |
const DDS_InstanceHandle_t & | handle, | |||
const DDS_Time_t & | source_timestamp | |||
) | [virtual] |
Performs the same function as DDSKeyedOctetsDataWriter::unregister_instance except that it also provides the value for the source_timestamp
.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write | ( | const DDS_KeyedOctets & | instance_data, | |
const DDS_InstanceHandle_t & | handle | |||
) | [virtual] |
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write | ( | const char * | key, | |
const unsigned char * | octets, | |||
int | length, | |||
const DDS_InstanceHandle_t & | handle | |||
) | [virtual] |
<<eXtension>> Modifies the value of a DDS_KeyedOctets data instance.
key | <<in>> Instance key. | |
octets | <<in>> Array of octets to be published. | |
length | <<in>> Number of octets to be published. | |
handle | <<in>> Either the handle returned by a previous call to DDSKeyedOctetsDataWriter::register_instance, or else the special value DDS_HANDLE_NIL. See FooDataWriter::write. |
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write | ( | const char * | key, | |
const DDS_OctetSeq & | octets, | |||
const DDS_InstanceHandle_t & | handle | |||
) | [virtual] |
<<eXtension>> Modifies the value of a DDS_KeyedOctets data instance.
key | <<in>> Instance key. | |
octets | <<in>> Sequence of octets to be published. | |
handle | <<in>> Either the handle returned by a previous call to DDSKeyedOctetsDataWriter::register_instance, or else the special value DDS_HANDLE_NIL. See FooDataWriter::write. |
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write_w_timestamp | ( | const DDS_KeyedOctets & | instance_data, | |
const DDS_InstanceHandle_t & | handle, | |||
const DDS_Time_t & | source_timestamp | |||
) | [virtual] |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also provides the value for the source_timestamp
.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write_w_timestamp | ( | const char * | key, | |
const unsigned char * | octets, | |||
int | length, | |||
const DDS_InstanceHandle_t & | handle, | |||
const DDS_Time_t & | source_timestamp | |||
) | [virtual] |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also provides the value for the source_timestamp
.
key | <<in>> Instance key. | |
octets | <<in>> Array of octets to be published. | |
length | <<in>> Number of octets to be published. | |
handle | <<in>> Either the handle returned by a previous call to DDSKeyedOctetsDataWriter::register_instance, or else the special value DDS_HANDLE_NIL. See FooDataWriter::write. | |
source_timestamp | <<in>> The timestamp value must be greater than or equal to the timestamp value used in the last writer operation. See FooDataWriter::write_w_timestamp. |
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write_w_timestamp | ( | const char * | key, | |
const DDS_OctetSeq & | octets, | |||
const DDS_InstanceHandle_t & | handle, | |||
const DDS_Time_t & | source_timestamp | |||
) | [virtual] |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also provides the value for the source_timestamp
.
key | <<in>> Instance key. | |
octets | <<in>> Sequence of octets to be published. | |
handle | <<in>> Either the handle returned by a previous call to DDSKeyedOctetsDataWriter::register_instance, or else the special value DDS_HANDLE_NIL. See FooDataWriter::write. | |
source_timestamp | <<in>> The timestamp value must be greater than or equal to the timestamp value used in the last writer operation. See FooDataWriter::write_w_timestamp. |
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write_w_params | ( | const DDS_KeyedOctets & | instance_data, | |
const DDS_WriteParams_t & | params | |||
) | [virtual] |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also allows specification of the instance handle, source timestamp, publication priority, and cookie.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write_w_params | ( | const char * | key, | |
const unsigned char * | octets, | |||
int | length, | |||
const DDS_WriteParams_t & | params | |||
) | [virtual] |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also allows specification of the instance handle, source timestamp, publication priority, and cookie.
key | <<in>> Instance key. | |
octets | <<in>> Array of octets to be published. | |
length | <<in>> Number of octets to be published. | |
params | <<in>> The DDS_WriteParams parameter containing the instance handle, source timestamp, publication priority, and cookie to be used in write operation. See FooDataWriter::write_w_params. |
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write_w_params | ( | const char * | key, | |
const DDS_OctetSeq & | octets, | |||
const DDS_WriteParams_t & | params | |||
) | [virtual] |
Performs the same function as DDSKeyedOctetsDataWriter::write except that it also allows specification of the instance handle, source timestamp, publication priority, and cookie.
key | <<in>> Instance key. | |
octets | <<in>> Sequence of octets to be published. | |
params | <<in>> The DDS_WriteParams parameter containing the instance handle, source timestamp, publication priority, and cookie to be used in write operation. See FooDataWriter::write_w_params. |
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::dispose | ( | const DDS_KeyedOctets & | instance_data, | |
const DDS_InstanceHandle_t & | handle | |||
) | [virtual] |
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::dispose | ( | const char * | key, | |
const DDS_InstanceHandle_t & | instance_handle | |||
) | [virtual] |
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::dispose_w_timestamp | ( | const DDS_KeyedOctets & | instance_data, | |
const DDS_InstanceHandle_t & | handle, | |||
const DDS_Time_t & | source_timestamp | |||
) | [virtual] |
Performs the same functions as DDSKeyedOctetsDataWriter::dispose except that the application provides the value for the source_timestamp
that is made available to DDSDataReader objects by means of the source_timestamp
attribute inside the DDS_SampleInfo.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::dispose_w_timestamp | ( | const char * | key, | |
const DDS_InstanceHandle_t & | instance_handle, | |||
const DDS_Time_t & | source_timestamp | |||
) | [virtual] |
<<eXtension>> Performs the same functions as DDSKeyedOctetsDataWriter::dispose except that the application provides the value for the source_timestamp
that is made available to DDSDataReader objects by means of the source_timestamp
attribute inside the DDS_SampleInfo.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::get_key_value | ( | DDS_KeyedOctets & | key_holder, | |
const DDS_InstanceHandle_t & | handle | |||
) | [virtual] |
Retrieve the instance key
that corresponds to an instance handle
.
virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::get_key_value | ( | char * | key, | |
const DDS_InstanceHandle_t & | handle | |||
) | [virtual] |
<<eXtension>> Retrieve the instance key
that corresponds to an instance handle
.
virtual DDS_InstanceHandle_t DDSKeyedOctetsDataWriter::lookup_instance | ( | const DDS_KeyedOctets & | key_holder | ) | [virtual] |
Retrieve the instance handle
that corresponds to an instance key_holder
.
virtual DDS_InstanceHandle_t DDSKeyedOctetsDataWriter::lookup_instance | ( | const char * | key | ) | [virtual] |
<<eXtension>> Retrieve the instance handle
that corresponds to an instance key
.