Does the order of elements within a struct matter?
struct Person {
int age;
String name;
}
vs
struct Person {
String name;
int age;
Does the order of elements within a struct matter?
struct Person {
int age;
String name;
}
vs
struct Person {
String name;
int age;
I am new to RTI/DDS. I am using .Net. I am able to download, build, and run the rticonnextdds-getting-started hello_world with Visual Studio 2022. I have build some idl that has includes. My rtiddsgen commands is this:
rtiddsgen -language c# -d generated -ppOption /nologo -ppOption /C -ppOption /E -ppOption /X -ppOption -C -ppPath "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe" *.idl
I have a topic containing a struct that leverages inheritance. I would like to simulate sending this topic to a receiver who only has the base struct in its IDL for the topic.
I'm basically trying to simulate the shapes demo (extended shapes publisher / base shapes subscriber), but I would like to see the messages (and values) of the topics sent and received. Is there a tool for that?
v/r
CG
I'm simply trying to compile some ild files. What arguments can I include to prevent the plugin and support files from being generated?
My command line command is something like:
pathToRTIDDSGEN -inputIdl pathToInput -d pathToOutputCompiledFiles -replace -language C++ -namespace -optimization 2 -verbosity 3