pub struct DomainParticipantAsync<R: DdsRuntime> { /* private fields */ }Expand description
Async version of DomainParticipant.
Implementations§
Source§impl<R: DdsRuntime> DomainParticipantAsync<R>
impl<R: DdsRuntime> DomainParticipantAsync<R>
Sourcepub async fn create_publisher(
&self,
qos: QosKind<PublisherQos>,
a_listener: Option<impl PublisherListener<R> + Send + 'static>,
mask: &[StatusKind],
) -> DdsResult<PublisherAsync<R>>
pub async fn create_publisher( &self, qos: QosKind<PublisherQos>, a_listener: Option<impl PublisherListener<R> + Send + 'static>, mask: &[StatusKind], ) -> DdsResult<PublisherAsync<R>>
Async version of create_publisher.
Sourcepub async fn delete_publisher(
&self,
a_publisher: &PublisherAsync<R>,
) -> DdsResult<()>
pub async fn delete_publisher( &self, a_publisher: &PublisherAsync<R>, ) -> DdsResult<()>
Async version of delete_publisher.
Sourcepub async fn create_subscriber(
&self,
qos: QosKind<SubscriberQos>,
a_listener: Option<impl SubscriberListener<R> + Send + 'static>,
mask: &[StatusKind],
) -> DdsResult<SubscriberAsync<R>>
pub async fn create_subscriber( &self, qos: QosKind<SubscriberQos>, a_listener: Option<impl SubscriberListener<R> + Send + 'static>, mask: &[StatusKind], ) -> DdsResult<SubscriberAsync<R>>
Async version of create_subscriber.
Sourcepub async fn delete_subscriber(
&self,
a_subscriber: &SubscriberAsync<R>,
) -> DdsResult<()>
pub async fn delete_subscriber( &self, a_subscriber: &SubscriberAsync<R>, ) -> DdsResult<()>
Async version of delete_subscriber.
Sourcepub async fn create_topic<Foo>(
&self,
topic_name: &str,
type_name: &str,
qos: QosKind<TopicQos>,
a_listener: Option<impl TopicListener<R> + Send + 'static>,
mask: &[StatusKind],
) -> DdsResult<TopicDescriptionAsync<R>>where
Foo: TypeSupport,
pub async fn create_topic<Foo>(
&self,
topic_name: &str,
type_name: &str,
qos: QosKind<TopicQos>,
a_listener: Option<impl TopicListener<R> + Send + 'static>,
mask: &[StatusKind],
) -> DdsResult<TopicDescriptionAsync<R>>where
Foo: TypeSupport,
Async version of create_topic.
Sourcepub async fn delete_topic(
&self,
a_topic: &TopicDescriptionAsync<R>,
) -> DdsResult<()>
pub async fn delete_topic( &self, a_topic: &TopicDescriptionAsync<R>, ) -> DdsResult<()>
Async version of delete_topic.
Sourcepub async fn create_contentfilteredtopic(
&self,
name: &str,
related_topic: &TopicDescriptionAsync<R>,
filter_expression: String,
expression_parameters: Vec<String>,
) -> DdsResult<TopicDescriptionAsync<R>>
pub async fn create_contentfilteredtopic( &self, name: &str, related_topic: &TopicDescriptionAsync<R>, filter_expression: String, expression_parameters: Vec<String>, ) -> DdsResult<TopicDescriptionAsync<R>>
Async version of create_contentfilteredtopic.
Sourcepub async fn delete_contentfilteredtopic(
&self,
_a_contentfilteredtopic: &TopicDescriptionAsync<R>,
) -> DdsResult<()>
pub async fn delete_contentfilteredtopic( &self, _a_contentfilteredtopic: &TopicDescriptionAsync<R>, ) -> DdsResult<()>
Async version of delete_contentfilteredtopic.
Sourcepub async fn find_topic<Foo>(
&self,
topic_name: &str,
timeout: Duration,
) -> DdsResult<TopicDescriptionAsync<R>>where
Foo: TypeSupport,
pub async fn find_topic<Foo>(
&self,
topic_name: &str,
timeout: Duration,
) -> DdsResult<TopicDescriptionAsync<R>>where
Foo: TypeSupport,
Async version of find_topic.
Sourcepub async fn lookup_topicdescription(
&self,
topic_name: &str,
) -> DdsResult<Option<TopicDescriptionAsync<R>>>
pub async fn lookup_topicdescription( &self, topic_name: &str, ) -> DdsResult<Option<TopicDescriptionAsync<R>>>
Async version of lookup_topicdescription.
Sourcepub fn get_builtin_subscriber(&self) -> SubscriberAsync<R>
pub fn get_builtin_subscriber(&self) -> SubscriberAsync<R>
Async version of get_builtin_subscriber.
Sourcepub async fn ignore_participant(&self, handle: InstanceHandle) -> DdsResult<()>
pub async fn ignore_participant(&self, handle: InstanceHandle) -> DdsResult<()>
Async version of ignore_participant.
Sourcepub async fn ignore_topic(&self, handle: InstanceHandle) -> DdsResult<()>
pub async fn ignore_topic(&self, handle: InstanceHandle) -> DdsResult<()>
Async version of ignore_topic.
Sourcepub async fn ignore_publication(&self, handle: InstanceHandle) -> DdsResult<()>
pub async fn ignore_publication(&self, handle: InstanceHandle) -> DdsResult<()>
Async version of ignore_publication.
Sourcepub async fn ignore_subscription(&self, handle: InstanceHandle) -> DdsResult<()>
pub async fn ignore_subscription(&self, handle: InstanceHandle) -> DdsResult<()>
Async version of ignore_subscription.
Sourcepub fn get_domain_id(&self) -> DomainId
pub fn get_domain_id(&self) -> DomainId
Async version of get_domain_id.
Sourcepub async fn delete_contained_entities(&self) -> DdsResult<()>
pub async fn delete_contained_entities(&self) -> DdsResult<()>
Async version of delete_contained_entities.
Sourcepub async fn assert_liveliness(&self) -> DdsResult<()>
pub async fn assert_liveliness(&self) -> DdsResult<()>
Async version of assert_liveliness.
Sourcepub async fn set_default_publisher_qos(
&self,
qos: QosKind<PublisherQos>,
) -> DdsResult<()>
pub async fn set_default_publisher_qos( &self, qos: QosKind<PublisherQos>, ) -> DdsResult<()>
Async version of set_default_publisher_qos.
Sourcepub async fn get_default_publisher_qos(&self) -> DdsResult<PublisherQos>
pub async fn get_default_publisher_qos(&self) -> DdsResult<PublisherQos>
Async version of get_default_publisher_qos.
Sourcepub async fn set_default_subscriber_qos(
&self,
qos: QosKind<SubscriberQos>,
) -> DdsResult<()>
pub async fn set_default_subscriber_qos( &self, qos: QosKind<SubscriberQos>, ) -> DdsResult<()>
Async version of set_default_subscriber_qos.
Sourcepub async fn get_default_subscriber_qos(&self) -> DdsResult<SubscriberQos>
pub async fn get_default_subscriber_qos(&self) -> DdsResult<SubscriberQos>
Async version of get_default_subscriber_qos.
Sourcepub async fn set_default_topic_qos(
&self,
qos: QosKind<TopicQos>,
) -> DdsResult<()>
pub async fn set_default_topic_qos( &self, qos: QosKind<TopicQos>, ) -> DdsResult<()>
Async version of set_default_topic_qos.
Sourcepub async fn get_default_topic_qos(&self) -> DdsResult<TopicQos>
pub async fn get_default_topic_qos(&self) -> DdsResult<TopicQos>
Async version of get_default_topic_qos.
Sourcepub async fn get_discovered_participants(
&self,
) -> DdsResult<Vec<InstanceHandle>>
pub async fn get_discovered_participants( &self, ) -> DdsResult<Vec<InstanceHandle>>
Async version of get_discovered_participants.
Sourcepub async fn get_discovered_participant_data(
&self,
participant_handle: InstanceHandle,
) -> DdsResult<ParticipantBuiltinTopicData>
pub async fn get_discovered_participant_data( &self, participant_handle: InstanceHandle, ) -> DdsResult<ParticipantBuiltinTopicData>
Async version of get_discovered_participant_data.
Sourcepub async fn get_discovered_topics(&self) -> DdsResult<Vec<InstanceHandle>>
pub async fn get_discovered_topics(&self) -> DdsResult<Vec<InstanceHandle>>
Async version of get_discovered_topics.
Sourcepub async fn get_discovered_topic_data(
&self,
topic_handle: InstanceHandle,
) -> DdsResult<TopicBuiltinTopicData>
pub async fn get_discovered_topic_data( &self, topic_handle: InstanceHandle, ) -> DdsResult<TopicBuiltinTopicData>
Async version of get_discovered_topic_data.
Sourcepub async fn contains_entity(
&self,
_a_handle: InstanceHandle,
) -> DdsResult<bool>
pub async fn contains_entity( &self, _a_handle: InstanceHandle, ) -> DdsResult<bool>
Async version of contains_entity.
Sourcepub async fn get_current_time(&self) -> DdsResult<Time>
pub async fn get_current_time(&self) -> DdsResult<Time>
Async version of get_current_time.
Source§impl<R: DdsRuntime> DomainParticipantAsync<R>
impl<R: DdsRuntime> DomainParticipantAsync<R>
Sourcepub async fn set_qos(&self, qos: QosKind<DomainParticipantQos>) -> DdsResult<()>
pub async fn set_qos(&self, qos: QosKind<DomainParticipantQos>) -> DdsResult<()>
Async version of set_qos.
Sourcepub async fn get_qos(&self) -> DdsResult<DomainParticipantQos>
pub async fn get_qos(&self) -> DdsResult<DomainParticipantQos>
Async version of get_qos.
Sourcepub async fn set_listener(
&self,
a_listener: Option<impl DomainParticipantListener<R> + Send + 'static>,
mask: &[StatusKind],
) -> DdsResult<()>
pub async fn set_listener( &self, a_listener: Option<impl DomainParticipantListener<R> + Send + 'static>, mask: &[StatusKind], ) -> DdsResult<()>
Async version of set_listener.
Sourcepub async fn get_status_changes(&self) -> DdsResult<Vec<StatusKind>>
pub async fn get_status_changes(&self) -> DdsResult<Vec<StatusKind>>
Async version of get_status_changes.
Sourcepub async fn get_instance_handle(&self) -> InstanceHandle
pub async fn get_instance_handle(&self) -> InstanceHandle
Async version of get_instance_handle.