This PR adds a new element to the XML deployment file for setting the default connection policy, if OCL is compiled against a version of RTT that has a default policy (see orocos-toolchain/rtt#114). The values of the default connection policy are copied over to every new ConnPolicy instance created.
The patch does not introduce a new XML tag, but a ConnPolicy element with the special name "Default" is interpreted as the new process-wide default policy. There is a small risk that this name is already in use to name connections in some existing XML files, but even then this patch would not necessarily break the deployment except that all other connections without an explicit ConnPolicy element would also use this default ConnPolicy.
This PR adds a new element to the XML deployment file for setting the default connection policy, if OCL is compiled against a version of RTT that has a default policy (see orocos-toolchain/rtt#114). The values of the default connection policy are copied over to every new ConnPolicy instance created.
The patch does not introduce a new XML tag, but a ConnPolicy element with the special name "Default" is interpreted as the new process-wide default policy. There is a small risk that this name is already in use to name connections in some existing XML files, but even then this patch would not necessarily break the deployment except that all other connections without an explicit ConnPolicy element would also use this default ConnPolicy.