RUAG Defence

8 posts / 0 new
Last post
Offline
Last seen: 2 years 10 months ago
Joined: 02/15/2013
Posts: 20
Performance of content filter

Hello there,

I have modified the "ndds.5.0.0\example\CPP\Hello_dynamic" example with a content filter on the subscriber side. The filter expression filters on a key field (I added an unsigned short key field in the dynamic type creation) and compares for equality "(CEP = %0)" where the parameter is "0x180". Everything works as expected.

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 2 years 10 months ago
Joined: 02/15/2013
Posts: 20
Dispose instances with KEEP_ALL_HISTORY_QOS

Hello,

how can I dispose an instance in the presence of KEEP_ALL_HISTORY_QOS? When I write to a keyed topic with KEEP_ALL multiple times on an instance and then start the reader I get all written data. Good so far. When I then call 'dispose' on that instance the reader sees all data and then a DDS_NOT_ALIVE_DISPOSED_INSTANCE_STATE. I assumed the writer would remove all data with the instance from the queue which it obviously does not. How can I 'clear' the writer queue if not with dispose()? Everything works as expected with KEEP_LAST_HISTORY_QOS, depth 1.

Organization:
6 posts / 0 new
Last post
Offline
Last seen: 2 years 10 months ago
Joined: 02/15/2013
Posts: 20
Comparing generated C++ classes

Hello there,

for some reasons I want to compare the C++ classes which are generated from the IDL.

Example: (IDL)

struct TSpeed
{
  double value;
};

Generated C++ class:

Organization:
Subscribe to RSS - RUAG Defence