DDS_Publisher entity and associated elements
More...
Functions |
| DDS_ReturnCode_t | DDS_PublisherQos_initialize (struct DDS_PublisherQos *self) |
| | Initializer for new QoS instances.
|
| DDS_ReturnCode_t | DDS_PublisherQos_copy (struct DDS_PublisherQos *self, const struct DDS_PublisherQos *source) |
| | Copy the contents of the given QoS into this QoS.
|
| DDS_ReturnCode_t | DDS_PublisherQos_finalize (struct DDS_PublisherQos *self) |
| | Free any dynamic memory allocated by the policies in this DDS_PublisherQos.
|
| DDS_Entity * | DDS_Publisher_as_entity (DDS_Publisher *publisher) |
| | <<cert>> Access a DDS_Publisher's supertype instance.
|
| DDS_ReturnCode_t | DDS_Publisher_get_default_datawriter_qos (DDS_Publisher *self, struct DDS_DataWriterQos *qos) |
| | Copies the default DDS_DataWriterQos values into the provided DDS_DataWriterQos instance.
|
| DDS_ReturnCode_t | DDS_Publisher_set_default_datawriter_qos (DDS_Publisher *self, const struct DDS_DataWriterQos *qos) |
| | Sets the default DDS_DataWriterQos values for this publisher.
|
| DDS_DataWriter * | DDS_Publisher_create_datawriter (DDS_Publisher *self, DDS_Topic *topic, const struct DDS_DataWriterQos *qos, const struct DDS_DataWriterListener *listener, DDS_StatusMask mask) |
| | <<cert>> Creates a DDS_DataWriter that will be attached and belong to the DDS_Publisher.
|
| DDS_ReturnCode_t | DDS_Publisher_enable (DDS_Entity *self) |
| | Enables a DDS_Publisher instance.
|
| DDS_ReturnCode_t | DDS_Publisher_delete_datawriter (DDS_Publisher *self, DDS_DataWriter *a_datawriter) |
| | Deletes a DDS_DataWriter that belongs to the DDS_Publisher.
|
| DDS_DataWriter * | DDS_Publisher_lookup_datawriter (DDS_Publisher *self, const char *topic_name) |
| | <<cert>> Retrieves the DDS_DataWriter for a specific DDS_Topic.
|
| DDS_DomainParticipant * | DDS_Publisher_get_participant (DDS_Publisher *self) |
| | <<cert>> Returns the DDS_DomainParticipant to which the DDS_Publisher belongs.
|
| DDS_ReturnCode_t | DDS_Publisher_delete_contained_entities (DDS_Publisher *self) |
| | Deletes all the entities that were created by means of the "create" operation on the DDS_Publisher.
|
| DDS_ReturnCode_t | DDS_Publisher_set_qos (DDS_Publisher *self, const struct DDS_PublisherQos *qos) |
| | Sets the publisher QoS.
|
| DDS_ReturnCode_t | DDS_Publisher_get_qos (DDS_Publisher *self, struct DDS_PublisherQos *qos) |
| | Gets the publisher QoS.
|
| DDS_ReturnCode_t | DDS_Publisher_set_listener (DDS_Publisher *self, const struct DDS_PublisherListener *l, DDS_StatusMask mask) |
| | Sets the publisher listener.
|
| struct DDS_PublisherListener | DDS_Publisher_get_listener (DDS_Publisher *self) |
| | Get the publisher listener.
|
Detailed Description
DDS_Publisher entity and associated elements
Macro Definition Documentation
| #define DDS_PublisherQos_INITIALIZER |
<<cert>> Initializer for new QoS instances.
New DDS_PublisherQos instance stored on the stack should be initialized with this value before they are passed to any function . This step ensures that those contained QoS policies that use dynamic memory are properly initialized. This does not allocate memory. The simplest way to create a new QoS structure is to initialize it on the stack at the time of its creation:
- See also:
- DDS_PublisherQos_finalize
| #define DDS_PublisherListener_INITIALIZER |
Typedef Documentation
Function Documentation
Initializer for new QoS instances.
New DDS_PublisherQos instances on heap should be initialized with this function before they are passed to any function . This step ensures that those contained QoS policies that use dynamic memory are properly initialized. This function does not allocate memory.
- Parameters:
-
- Returns:
- One of the Standard Return Codes
- See also:
- DDS_PublisherQos_finalize
Free any dynamic memory allocated by the policies in this DDS_PublisherQos.
Some QoS policies may use dynamic memory (regardless of whether the QoS itself is in dynamic memory). This function frees that memory but otherwise leaves this QoS unchanged. It should be called on all instances before they are freed (or, in the case of stack-based instances, before they go out of scope). This function does not leave this object in an invalid state. It is permissable to clear a QoS and then subsequently allocate new dynamic memory in one or more of its QoS policies. Note that if this QoS instance is stored in heap memory, calling this function will not call free() on it; the user is responsible for explicitly freeing any heap-based QoS instance after calling this function .
- Parameters:
-
- Returns:
- One of the Standard Return Codes
- See also:
- DDS_PublisherQos_INITIALIZER
-
DDS_PublisherQos_initialize
Gets the publisher QoS.
This function may potentially allocate memory depending on the sequences contained in some QoS policies.
- Parameters:
-
- Returns:
- One of the Standard Return Codes
- See also:
- get_qos (abstract)
Variable Documentation