DdsQueryCondition

2 posts / 0 new
Last post
Offline
Last seen: 8 years 6 months ago
Joined: 11/28/2015
Posts: 8
DdsQueryCondition

Hi
I want to know how to prepare dds query
Condition to check attribute within a structure of a topic.
Take for example following is the idl:
struct STRUCT_USER_LIST
{
DDS_Char* username;
UINT_8 user role;
}
struct USER_FUNCTION_LIST
{
STRUCT_USER_LIST struct_user_list;
}
I want to retrieve that sample whose username is User1.
So I want to apply ddsquerycondition to attribute username within a structure struct_user_list of topic USER_FUNCTION_LIST.

Gerardo Pardo's picture
Offline
Last seen: 1 month 3 days ago
Joined: 06/02/2010
Posts: 602

Are you using Connext DDS Micro?

I already answered your same question on the other thread you posted: https://community.rti.com/forum-topic/dds-query-condition

If you are using micro the answer there does not apply since Micro does not support QueryConditions...

Gerardo