Northrop Grumman

2 posts / 0 new
Last post
Offline
Last seen: 11 months 4 weeks ago
Joined: 02/04/2021
Posts: 1
Sequences in IDL

Given the following example of a typedef sequence in IDL:  (this is not actual IDL, just an example)

module data {

typedef sequence <MyData, 10> MyDataSequence;

struct MyStruct {

MyDataSequence  field;

};

};

module message {

valuetype ThisMessage {

public MyDataSequence data;

};

};

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 3 years 6 months ago
Joined: 07/12/2018
Posts: 1
Polymorphism

Subscriber is not receiving all fields from polymorphic types.  And based on what I have read on this Forum, I think this might be the expected behavior.

I am using Java and my IDL looks like this: 

Organization:
6 posts / 0 new
Last post
Offline
Last seen: 5 years 8 months ago
Joined: 12/14/2015
Posts: 23
Easy question on write_w_timestamp_untyped

At this web page:  http://community.rti.com/rti-doc/45f/ndds.4.5f/doc/html/api_java/interfacecom_1_1rti_1_1dds_1_1publication_1_1DataWriter.html#908102c9730fb19be447ed4af01da75e

I found documentation for the write_w_timestamp_untyped.  The documenation says, "Publish a data sample using the given time instead of the current time".

Organization:
20 posts / 0 new
Last post
Offline
Last seen: 5 years 8 months ago
Joined: 12/14/2015
Posts: 23
Unknown Source error

I am getting an error when I call the DomainParticipant enable() method.  Here are some lines of code in Java that I am using.

final DomainParticipant = participant;

DomainParticipantFactoryQos factoryQos = new DomainParticipantFactoryQos();

DomainParticipantFactory.The ParticipantFactory.get_qos( factoryQos );

factoryQos.entity_factory.autoenable_created_entities = false;

DomainParticipantFactory.The ParticipantFactory.set_qos( factoryQos );

Organization:
Subscribe to RSS - Northrop Grumman