struct

3 posts / 0 new
Last post
frgo's picture
Offline
Last seen: 6 years 1 month ago
Joined: 12/28/2011
Posts: 20
Q: Use struct or not ?

Hi all:

I am new to DDS and I am currently designing an IDL for exchanging messages between applications. For defining complex data there is now the question of using structs or not, as shown here:

// PIB Network Participant

struct participant_t
{
string<36> id; //@key
unsigned long rtps_host_id;
unsigned long rtps_app_id;
unsigned long rtps_instance_id;
string application;
string hostname;
long process_id;
long thread_id;
};

Subscribe to RSS - struct