Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds profile loading from XML string [12821] #2245

Merged
merged 8 commits into from
Dec 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions include/fastdds/dds/domain/DomainParticipantFactory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,16 @@ class DomainParticipantFactory
RTPS_DllAPI ReturnCode_t load_XML_profiles_file(
const std::string& xml_profile_file);

/**
* Load profiles from XML string.
* @param data buffer containing xml data.
* @param length length of data
* @return RETCODE_OK if it is correctly loaded, RETCODE_ERROR otherwise.
*/
RTPS_DllAPI ReturnCode_t load_XML_profiles_string(
const char* data,
size_t length);

/**
* This operation returns the value of the DomainParticipantFactory QoS policies.
* @param qos DomaParticipantFactoryQos reference where the qos is returned
Expand Down
Loading