mutable

2 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 09/01/2022
Posts: 1
How Can I Combine two datareader's data into one data

------ IDL --------------------

@mutable @autoid
struct A{
long x;
};
@mutable @autoid
struct B{
string msg;
};
@mutable @autoid
struct Both{
@optional long x;
@optional string msg;
};

---------------------------------

type struct A 1 Publisher, type struct B 1 Publisher, type struct Both 1 Subscriber

I send A data and B data each Publishers and Receive thier eache datas type struct Both 1 Subscriber. ( Their Topic is same )

6 posts / 0 new
Last post
Offline
Last seen: 7 years 8 months ago
Joined: 01/20/2015
Posts: 6
Topic Aggregation

Is it possible two aggregate two topics in one topic.

Suppose there is topic TOPIC_T1 with

STRUCT_T1

{

int x; //@key;

int y;

int z;

}

topic TOPIC_T2 with

STRUCT_T2

{

int x; //@key

int a;

int b;

}

topic TOPIC_T3

{

int x; //@key

int y;

int z;

int a;

int b;

}

datawriter1 is publishing TOPIC_T1 , datawriter2  is publishing TOPIC_T2 and datareader is subscribing TOPIC_T3.

Subscribe to RSS - mutable