Download RTI Core Libraries and Utilities Getting Started Guide

Transcript
Contents
1
2
3
Welcome to RTI Connext!.................................................................1-1
1.1
A Guide to the Provided Documentation .......................................................................................... 1-1
1.2
Why Choose Connext? .......................................................................................................................... 1-3
1.2.1 Reduce Risk Through Performance and Availability.......................................................... 1-3
1.2.2 Reduce Cost through Ease of Use and Simplified Deployment ........................................ 1-4
1.2.3 Ensure Success with Unmatched Flexibility......................................................................... 1-4
1.2.4 Connect Heterogeneous Systems ........................................................................................... 1-5
1.2.5 Interoperate with Databases, Event Engines, and JMS Systems ....................................... 1-5
1.3
What Can Connext Do?......................................................................................................................... 1-5
1.4
What are the Connext Products? ......................................................................................................... 1-8
1.4.1 RTI Connext DDS and Connext Messaging.......................................................................... 1-8
1.4.2 RTI Connext Integrator............................................................................................................ 1-9
1.4.3 RTI Connext Micro ................................................................................................................. 1-10
1.4.4 RTI Tools .................................................................................................................................. 1-10
Installing Connext .............................................................................2-1
2.1
Installing Connext.................................................................................................................................. 2-1
2.1.1 Installing on a UNIX-Based System....................................................................................... 2-2
2.1.2 Installing on a Windows System ............................................................................................ 2-2
2.2
License Management............................................................................................................................. 2-3
2.2.1 Installing the License File ........................................................................................................ 2-3
2.2.2 Adding or Removing License Management......................................................................... 2-4
2.3
Navigating the Directories.................................................................................................................... 2-4
2.4
Selecting a Development Environment .............................................................................................. 2-5
2.4.1 Using the Command-Line Tools on UNIX-based Systems ................................................ 2-5
2.4.2 Using the Command-Line Tools on Windows Systems...................................................... 2-6
2.4.3 Using Microsoft Visual Studio................................................................................................ 2-6
Getting Started with Connext ..........................................................3-1
3.1
Building and Running “Hello, World” ............................................................................................... 3-1
3.1.1 Step 1: Set Up the Environment.............................................................................................. 3-1
3.1.2 Step 2: Compile the Hello World Program ........................................................................... 3-4
3.1.3 Step 3: Start the Subscriber...................................................................................................... 3-6
3.1.4 Step 4: Start the Publisher ....................................................................................................... 3-7
3.2
Building and Running a Request-Reply Example ............................................................................ 3-8
3.3
An Introduction to Connext ................................................................................................................. 3-9
3.3.1 An Overview of Connext Objects .......................................................................................... 3-9
3.3.2 DomainParticipants ................................................................................................................. 3-9
3.3.3 Publishers and DataWriters .................................................................................................. 3-12
3.3.4 Subscribers and DataReaders ............................................................................................... 3-14
3.3.5 Topics........................................................................................................................................ 3-17
3.3.6 Keys and Samples................................................................................................................... 3-18
3.3.7 Requesters and Repliers ........................................................................................................ 3-18
iii