Share memory transport

2 posts / 0 new
Last post
Offline
Last seen: 10 years 7 months ago
Joined: 04/09/2013
Posts: 13
Share memory transport

I am looking for example code for setting share memory transport only, no UDP.

I am using vxWorks 6.9, and I don't have the XML file to change the environment. How do I change it in the generated code?

Thanks

 

Organization:
Keywords:
Gerardo Pardo's picture
Offline
Last seen: 3 weeks 1 day ago
Joined: 06/02/2010
Posts: 601

Hi,

The XML just configures QoS and you can do the same QoS configuration directly from compiled code.

In your case you just need to set the TransportBuiltinQosPolicy found in the transport_builtin member of the DomainParticipantQos.

You may also want to take a look at the HOWTO titled Control or Restrict the Network Interfaces (NICs) used for discovery and data distribution.  The use-case is slightly different it describes how to configure transport properties first using first the XML configuration and then (in section 2)  using the domain participant QoS directly from the code.

Gerardo