-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make private the necessary headers from include/fastrtps (#4545)
* Refs #20567: Include what you use in latency test Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Remove unnecesary and deprecated headers Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Migrate allocations test to DDS Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make ParticipantAttributes private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make ReplierAttributes & RequesterAttributes private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make PublisherAttributes private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make SubscriberAttributes private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make Discovery private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make ProxyPool private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make Semaphore private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make MessageReceiver private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make BuiltinProtocols private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make Liveliness private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make LivelinessManager private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make LivelinessData private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make shared_mutex private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make StringMatching private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make TimeConversion private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Make DBQueue private Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Add notes to versions.md Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Apply Eliana's suggestions Signed-off-by: EduPonz <eduardoponz@eprosima.com> * Refs #20567: Correctly export API in Windows for ReplierQos and RequesterQos Signed-off-by: EduPonz <eduardoponz@eprosima.com> --------- Signed-off-by: EduPonz <eduardoponz@eprosima.com>
- Loading branch information
1 parent
edf6691
commit 2bf9c26
Showing
185 changed files
with
1,895 additions
and
3,516 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
// 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 ReplierQos.hpp | ||
*/ | ||
|
||
#ifndef _FASTDDS_REPLIERQOS_HPP_ | ||
#define _FASTDDS_REPLIERQOS_HPP_ | ||
|
||
#include <string> | ||
|
||
#include <fastdds/dds/publisher/qos/DataWriterQos.hpp> | ||
#include <fastdds/dds/subscriber/qos/DataReaderQos.hpp> | ||
#include <fastdds/fastdds_dll.hpp> | ||
|
||
namespace eprosima { | ||
namespace fastdds { | ||
namespace dds { | ||
|
||
class ReplierQos | ||
{ | ||
public: | ||
|
||
/** | ||
* @brief Constructor | ||
*/ | ||
FASTDDS_EXPORTED_API ReplierQos() = default; | ||
|
||
/** | ||
* @brief Equal comparison operator | ||
*/ | ||
FASTDDS_EXPORTED_API bool operator ==( | ||
const ReplierQos& b) const | ||
{ | ||
return (this->service_name == b.service_name) && | ||
(this->request_topic_name == b.request_topic_name) && | ||
(this->reply_topic_name == b.reply_topic_name) && | ||
(this->writer_qos == b.writer_qos) && | ||
(this->reader_qos == b.reader_qos); | ||
} | ||
|
||
//! Service name | ||
std::string service_name; | ||
|
||
//! Request type | ||
std::string request_type; | ||
|
||
//! Reply type | ||
std::string reply_type; | ||
|
||
//! Request topic name | ||
std::string request_topic_name; | ||
|
||
//! Reply topic name | ||
std::string reply_topic_name; | ||
|
||
//! DataWriter QoS for the reply writer | ||
DataWriterQos writer_qos; | ||
|
||
//! DataReader QoS for the reply reader | ||
DataReaderQos reader_qos; | ||
}; | ||
|
||
} /* namespace dds */ | ||
} /* namespace fastdds */ | ||
} /* namespace eprosima */ | ||
|
||
#endif /* _FASTDDS_REPLIERQOS_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
// 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 RequesterQos.hpp | ||
*/ | ||
|
||
#ifndef _FASTDDS_REQUESTERQOS_HPP_ | ||
#define _FASTDDS_REQUESTERQOS_HPP_ | ||
|
||
#include <string> | ||
|
||
#include <fastdds/dds/publisher/qos/DataWriterQos.hpp> | ||
#include <fastdds/dds/subscriber/qos/DataReaderQos.hpp> | ||
#include <fastdds/fastdds_dll.hpp> | ||
|
||
namespace eprosima { | ||
namespace fastdds { | ||
namespace dds { | ||
|
||
class RequesterQos | ||
{ | ||
public: | ||
|
||
/** | ||
* @brief Constructor | ||
*/ | ||
FASTDDS_EXPORTED_API RequesterQos() = default; | ||
|
||
/** | ||
* @brief Equal comparison operator | ||
*/ | ||
FASTDDS_EXPORTED_API bool operator ==( | ||
const RequesterQos& b) const | ||
{ | ||
return (this->service_name == b.service_name) && | ||
(this->request_topic_name == b.request_topic_name) && | ||
(this->reply_topic_name == b.reply_topic_name) && | ||
(this->writer_qos == b.writer_qos) && | ||
(this->reader_qos == b.reader_qos); | ||
} | ||
|
||
//! Service name | ||
std::string service_name; | ||
|
||
//! Request type | ||
std::string request_type; | ||
|
||
//! Reply type | ||
std::string reply_type; | ||
|
||
//! Request topic name | ||
std::string request_topic_name; | ||
|
||
//! Reply topic name | ||
std::string reply_topic_name; | ||
|
||
//! DataWriter QoS for the request writer | ||
DataWriterQos writer_qos; | ||
|
||
//! DataReader QoS for the request reader | ||
DataReaderQos reader_qos; | ||
}; | ||
|
||
} /* namespace dds */ | ||
} /* namespace fastdds */ | ||
} /* namespace eprosima */ | ||
|
||
#endif /* _FASTDDS_REQUESTERQOS_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 was deleted.
Oops, something went wrong.
Oops, something went wrong.