20.1.5.1. Topic
- class fastdds.Topic(*args, **kwargs)
Class Topic, represents the fact that both publications and subscriptions are tied to a single data-type
- get_impl()
- get_listener()
Retrieves the attached TopicListener.
- Return type:
- Returns:
pointer to TopicListener
- get_participant()
Getter for the DomainParticipant
- Return type:
- Returns:
DomainParticipant pointer
- get_qos(*args)
Overload 1:
Allows accessing the Topic Qos.
- Return type:
- Returns:
reference to TopicQos
Overload 2:
Retrieves the Topic Qos.
- Parameters:
qos (
TopicQos
) – TopicQos where the qos is returned- Return type:
int
- Returns:
RETCODE_OK
- set_listener(*args)
Modifies the TopicListener.
- Parameters:
listener (
TopicListener
) – new value for the TopicListenermask (
StatusMask
) – StatusMask that holds statuses the listener responds to (default: all).
- Return type:
int
- Returns:
RETCODE_OK
- set_qos(qos)
Allows modifying the Topic Qos. The given Qos must be supported by the Topic.
- Parameters:
qos (
TopicQos
) – new TopicQos value to set for the Topic.
- property thisown
The membership flag