C++

Note: This solution applies to RTI Data Distribution Service 4.x. The description in this FAQ only applies to data instances that are allocated with FooTypeSupport::create_data(), which pre-allocates the strings. (It does not apply to situations in which the data instance is allocated on the stack ...
14519 reads — 0 comments
Note: Applies to RTI Data Distribution Service 4.1, 4.2; While the design pattern also works for RTI Data Distribution Service 4.3 and above, its batching feature is a better way to achieve aggregation. Purpose Publisher This example shows how to create an application that aggregates data. This ...
6184 reads — 0 comments
Note: Applies to RTI Data Distribution Service 4.3 and above. The following example is written in C++. Publisher This throughput test is based on the throughput test in $NDDSHOME/example/CPP/performance/throughput, with modifications to batch data samples for aggregation. Instead of sending ...
5027 reads — 0 comments
You might see the following messages in the DDS log. PRESParticipant_createContentFilteredTopicPolicy:content filter compile error 1 or PRESParticipant_createContentFilteredTopicPolicy:content filter compile error 2 Although the compile() function considers these messages real errors, they are not ...
8320 reads — 1 comment
Note: Applies to RTI Connext 4.3 and above, although the same methodology can be applied to 4.0, 4.1, and 4.2. The following example has been written in C++. Purpose This example illustrates how to extract and print Datawriter and Datareader statuses to a Comma-Separated Values (csv) file. This ...
6639 reads — 0 comments
Note: Applies to RTI Connext 4.x and above. RTI Connext calls fopen() to load the default XML and NDDS_DISCOVERY_PEERS files if they exist. On some VxWorks targets that either have no file system or use NFS, FTP, or some other network-based file system, and the file system is not mounted, RTI ...
6237 reads — 0 comments
Before processing an IDL file, rtiddsgen attempts to run a C preprocessor to support #if tests and related preprocessor directives. There are several options you can pass to rtiddsgen to control preprocessor use, including: -ppDisable (formerly -ppNotRun ) : Don't use the C preprocessor -ppPath : ...
5476 reads — 0 comments
Note: Applies to RTI Connext 4.x and above. When using Visual Studio to build the project files generated by rtiddsgen, you may see the following error message: [source file name]:fatal error C1083: Cannot open compiler generated file:[object file name] is generated. The error is due to the fact ...
44224 reads — 0 comments
The following methods (provided in the FooSeq class) will help you manage RTI Connext sequences: FooSeq::loan_contiguous() for C++ FooSeq::loan_discontiguous() for C++ FooSeq_loan_contiguous() for C FooSeq_loan_discontiguous() for C FooSeq::unloan() for C++ FooSeq_unloan() for C Sequence.loan() for ...
6173 reads — 0 comments
Note: Applies to RTI Connext 4.x and above The narrow method is a class-scope method that implements a safe down-cast for a pointer to an RTI Connext entity. It is a type-safe way to cast a pointer. The Java API does not require this method because Java casts are always type-safe. This method takes ...
7590 reads — 0 comments

Pages

Subscribe to RSS - C++