DDSKeyedOctetsDataWriter Class Reference
[KeyedOctets Built-in Type]

<<interface>> Instantiates DataWriter < DDS_KeyedOctets >. More...

Inheritance diagram for DDSKeyedOctetsDataWriter:

DDSDataWriter DDSDomainEntity DDSEntity

List of all members.

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 &params)
 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 &params)
 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 &params)
 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 DDSKeyedOctetsDataWriternarrow (DDSDataWriter *writer)
 Narrow the given DDSDataWriter pointer to a DDSKeyedOctetsDataWriter pointer.


Detailed Description

<<interface>> Instantiates DataWriter < DDS_KeyedOctets >.

See also:
FooDataWriter

DDSDataWriter


Member Function Documentation

static DDSKeyedOctetsDataWriter* DDSKeyedOctetsDataWriter::narrow ( DDSDataWriter writer  )  [static]

Narrow the given DDSDataWriter pointer to a DDSKeyedOctetsDataWriter pointer.

See also:
FooDataWriter::narrow

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.

See also:
FooDataWriter::register_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.

See also:
FooDataWriter::register_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.

See also:
FooDataWriter::register_instance_w_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.

See also:
FooDataWriter::register_instance_w_timestamp

virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::unregister_instance ( const DDS_KeyedOctets instance_data,
const DDS_InstanceHandle_t handle 
) [virtual]

virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::unregister_instance ( const char *  key,
const DDS_InstanceHandle_t handle 
) [virtual]

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.

See also:
FooDataWriter::unregister_instance_w_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.

See also:
FooDataWriter::unregister_instance_w_timestamp

virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::write ( const DDS_KeyedOctets instance_data,
const DDS_InstanceHandle_t handle 
) [virtual]

Modifies the value of a DDS_KeyedOctets data instance.

See also:
FooDataWriter::write

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.

Parameters:
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.
See also:
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.

Parameters:
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.
See also:
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.

See also:
FooDataWriter::write_w_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.

Parameters:
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.
See also:
FooDataWriter::write

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.

Parameters:
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.
See also:
FooDataWriter::write

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.

See also:
FooDataWriter::write_w_params

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.

Parameters:
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.
See also:
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.

Parameters:
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.
See also:
FooDataWriter::write_w_params

virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::dispose ( const DDS_KeyedOctets instance_data,
const DDS_InstanceHandle_t handle 
) [virtual]

Requests the middleware to delete the data.

See also:
FooDataWriter::dispose

virtual DDS_ReturnCode_t DDSKeyedOctetsDataWriter::dispose ( const char *  key,
const DDS_InstanceHandle_t instance_handle 
) [virtual]

<<eXtension>> Requests the middleware to delete the data.

See also:
FooDataWriter::dispose

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.

See also:
FooDataWriter::dispose_w_timestamp

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.

See also:
FooDataWriter::dispose_w_timestamp

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.

See also:
FooDataWriter::get_key_value

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.

See also:
FooDataWriter::get_key_value

virtual DDS_InstanceHandle_t DDSKeyedOctetsDataWriter::lookup_instance ( const DDS_KeyedOctets key_holder  )  [virtual]

Retrieve the instance handle that corresponds to an instance key_holder.

See also:
FooDataWriter::lookup_instance

virtual DDS_InstanceHandle_t DDSKeyedOctetsDataWriter::lookup_instance ( const char *  key  )  [virtual]

<<eXtension>> Retrieve the instance handle that corresponds to an instance key.

See also:
FooDataWriter::lookup_instance


RTI Connext C++ API Version 4.5f Copyright © 17 Mar 2012 Real-Time Innovations, Inc