MultiTopic Interface Reference
[Topics]

[Not supported (optional)] <<interface>> A specialization of com.rti.dds.topic.TopicDescription that allows subscriptions that combine/filter/rearrange data coming from several topics. More...

Inheritance diagram for MultiTopic:

TopicDescription

List of all members.

Public Member Functions

String get_subscription_expression ()
 Get the expression for this com.rti.dds.topic.MultiTopic.
void get_expression_parameters (StringSeq parameters)
 Get the expression parameters.
void set_expression_parameters (StringSeq parameters)
 Set the expression_parameters.


Detailed Description

[Not supported (optional)] <<interface>> A specialization of com.rti.dds.topic.TopicDescription that allows subscriptions that combine/filter/rearrange data coming from several topics.

com.rti.dds.topic.MultiTopic allows a more sophisticated subscription that can select and combine data received from multiple topics into a single resulting type (specified by the inherited type_name). The data will then be filtered (selection) and possibly re-arranged (aggregation/projection) according to a subscription_expression with parameters expression_parameters.

Note that the source for data may not be restricted to a single topic.

com.rti.dds.subscription.DataReader entities associated with a com.rti.dds.topic.MultiTopic may access instances that are "constructed" at the com.rti.dds.subscription.DataReader side from the instances written by multiple com.rti.dds.publication.DataWriter entities. The com.rti.dds.topic.MultiTopic access instance will begin to exist as soon as all the constituting com.rti.dds.topic.Topic instances are in existence. The view_state and instance_state is computed from the corresponding states of the constituting instances:

Queries and Filters Syntax describes the syntax of subscription_expression and expression_parameters.

Member Function Documentation

String get_subscription_expression (  ) 

Get the expression for this com.rti.dds.topic.MultiTopic.

The expressions syntax is described in the DDS specification. It is specified when the com.rti.dds.topic.MultiTopic is created.

Returns:
subscription_expression of the com.rti.dds.topic.MultiTopic.

void get_expression_parameters ( StringSeq  parameters  ) 

Get the expression parameters.

The expressions syntax is described in the DDS specification.

The parameters is either specified on the last successful call to com.rti.dds.topic.MultiTopic.set_expression_parameters, or if com.rti.dds.topic.MultiTopic.set_expression_parameters was never called, the parameters specified when the com.rti.dds.topic.MultiTopic was created.

Parameters:
parameters <<inout>> Fill in this sequence with the expression parameters. Cannot be NULL.
Exceptions:
One of the Standard Return Codes

void set_expression_parameters ( StringSeq  parameters  ) 

Set the expression_parameters.

Changes the expression_parameters associated with the com.rti.dds.topic.MultiTopic.

Parameters:
parameters <<in>> the filter expression parameters
Returns:
One of the Standard Return Codes.


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