-
Notifications
You must be signed in to change notification settings - Fork 783
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend LARGE_DATA configuration options (#4444)
* Refs #20493: Add Builtin config options Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Overload of RTPS API Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Update old methods with options parameter Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Overload of DomainParticipantQos API Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Make builtin-options const Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Add Env.var. parser Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Increase maximum msg_size of TCP Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Add blackbox tests Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Add Participant unittests Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Add units parser to utils Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Update xsd shcema Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Update XML parser with attributes and new format Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Update XML Tests Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Add xml tests to blackbox tests Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: change to_uppercase() method to fix windows build Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Update transport initialization with max_msg_size_no_frag Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Update QosPolicies to include max_msg_no_frag Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Correct and add Env.var tests Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Improve doxygen and use XML::ERROR type Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Uncrustify and try to fix windows again Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: fix doxygen Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Use int in toupper and move includes Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: tcp_negotiation_timeout in BuiltinTransportOptions Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Timeout in Env.var. Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Timeout in XML Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Tests for timeout and improvements Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Update XML schema to accept mode in complex type Signed-off-by: JesusPoderoso <[email protected]> * Refs #20493: Update test XML according to XSD update Signed-off-by: JesusPoderoso <[email protected]> * Refs #20493: Update unit test XML snippets according to XSD update Signed-off-by: JesusPoderoso <[email protected]> * Refs #20493: Update XMLParser to accept new schema Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Apply suggestions Signed-off-by: cferreiragonz <[email protected]> * Refs #20493: Abort use of std::toupper() Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> Signed-off-by: JesusPoderoso <[email protected]> Co-authored-by: JesusPoderoso <[email protected]>
- Loading branch information
1 parent
f515668
commit 28ba14d
Showing
44 changed files
with
1,288 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima). | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
/** | ||
* @file UnitsParser.hpp | ||
*/ | ||
|
||
#ifndef _FASTDDS_UTILS_UNITS_PARSER_HPP_ | ||
#define _FASTDDS_UTILS_UNITS_PARSER_HPP_ | ||
|
||
#include <string> | ||
|
||
namespace eprosima { | ||
namespace fastdds { | ||
namespace dds { | ||
namespace utils { | ||
|
||
/** | ||
* Converts the string to uppercase. | ||
* | ||
* @param[in] st String to convert | ||
*/ | ||
inline void to_uppercase( | ||
std::string& st) noexcept; | ||
|
||
/** | ||
* Converts a numeric value with units to bytes. | ||
* | ||
* @param[in] value Numeric value to convert | ||
* @param[in] units Units to use for the conversion | ||
* @return The value in bytes | ||
*/ | ||
uint32_t parse_value_and_units( | ||
std::string& value, | ||
std::string units); | ||
|
||
} /* namespace utils */ | ||
} /* namespace dds */ | ||
} /* namespace fastdds */ | ||
} /* namespace eprosima */ | ||
#endif /* _FASTDDS_UTILS_UNITS_PARSER_HPP_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.