DynamicData sequence

3 posts / 0 new
Last post
Offline
Last seen: 2 years 6 months ago
Joined: 04/18/2022
Posts: 8
Java Serialization of DynamicData to XML

Hi Everyone,

I'm extremely new to RTI DDS and have a very limited requirement in scope for a Java application. I want to be able to generically subscribe to all Topics, consume all topic messages and persist them as XML and in Binary.

I have looked through the forum and have made quite a lot of progress following the MonitorData example which subscribes to all the topics on the DCPSPublication topic. I am now recieving the messages as DynamicData in my listener. I have a few issues that I am struggling with here

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 9 years 7 months ago
Joined: 08/30/2013
Posts: 2
Problem setting sequence elements dynamically

Hi,

I have a found a problem with dynamically setting individual sequence elements. The attached file demonstates the problem, where an unrelated change in the structure's type code changes the behaviour from working as expected to not working.

Organization:
7 posts / 0 new
Last post
Offline
Last seen: 11 years 5 months ago
Joined: 04/25/2013
Posts: 6
DynamicData

hi everybody,

I want to

 
struct task  {
    long a;
    long b;
    sequence<double> cSeq;
};

struct entity {
    long id;
    long num;
    sequence<task> myTaskSeq;
};

struct myType {
    double speed;
    sequence<entity> myEntity; 
};

but in task struct,the cSeq's length is not sure,even for 0.

it will lead to takeup too much memory.

Subscribe to RSS - DynamicData sequence