2. QoS Profiles Manager

namespace eprosima
namespace qosprof

Functions

void initialize(const std::string &xml_file)

Initialize eProsima QoS Profiles Manager Library XML workspace. This workspace gets related to the given XML file, and all the Library API calls would be related to that XML file.

Parameters

xml_file – Absolute/relative path to the XML file.

Throws

ErrorException if the workspace could not be initialized, or it was already initialized.

void terminate()

Terminate the initialized eProsima QoS Profiles Manager Library XML workspace. This function must be called before initializing a new workspace. If changes required to be applied in the XML configuration file, this method would also apply them in filesystem. If error occurred or resultant XML configuration is not valid, the XML configuration will not be modified.

Throws

ErrorException if the XML file could not be written in filesystem