pub struct MultiTopic<T: DdsType> { /* private fields */ }Expand description
MultiTopic<T> — Spec §2.2.2.3.4 (DDS 1.4 optionales Feature).
Eine MultiTopic kombiniert mehrere Underlying-Topics in einer
einzigen TopicDescription via subscription_expression (SQL-
Subset). Der Resulting-Type T ist User-definiert; die
Underlying-Topics koennen unterschiedliche Types haben.
Cross-Topic-Sample-Routing: Der Join-Operator ist ueber
hash_join_two und Self::evaluate_joined live. Die
subscription_expression referenziert Felder als
<topic_name>.<field_path> (dotted), und JoinedRow
dispatched die Lookups an die matchenden Topic-Quellen.
Implementations§
Source§impl<T: DdsType> MultiTopic<T>
impl<T: DdsType> MultiTopic<T>
Sourcepub fn get_subscription_expression(&self) -> &str
pub fn get_subscription_expression(&self) -> &str
Spec §2.2.2.3.4.4 get_subscription_expression.
Sourcepub fn get_expression_parameters(&self) -> Vec<String>
pub fn get_expression_parameters(&self) -> Vec<String>
Spec §2.2.2.3.4.5 get_expression_parameters.
Sourcepub fn set_expression_parameters(&self, params: Vec<String>) -> Result<()>
pub fn set_expression_parameters(&self, params: Vec<String>) -> Result<()>
Spec §2.2.2.3.4.6 set_expression_parameters.
§Errors
BadParameter wenn ein referenzierter %N-Parameter
ausserhalb des neuen Vec liegt; PreconditionNotMet bei
Lock-Poisoning.
Spec §2.2.2.3.4.3 get_related_topic (PSM gibt eine Sequence
zurueck — wir liefern die Namen).
Trait Implementations§
Source§impl<T: DdsType> Clone for MultiTopic<T>
impl<T: DdsType> Clone for MultiTopic<T>
Source§impl<T: DdsType> Debug for MultiTopic<T>
impl<T: DdsType> Debug for MultiTopic<T>
Source§impl<T: DdsType> TopicDescription for MultiTopic<T>
impl<T: DdsType> TopicDescription for MultiTopic<T>
Source§fn get_type_name(&self) -> &str
fn get_type_name(&self) -> &str
"std_msgs::msg::String").
Spec §2.2.2.3.1 get_type_name.Source§fn get_participant(&self) -> &DomainParticipant
fn get_participant(&self) -> &DomainParticipant
get_participant.