-
Notifications
You must be signed in to change notification settings - Fork 75
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
PSMX support for C++ #453
Merged
Merged
PSMX support for C++ #453
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
8d4e35b
First step towards replacing hardcoded iceoryx code with PSMX calls
reicheratwork dbcfc36
Added C++ PSMXInstances QoSPolicy
reicheratwork 99b708e
Removed the ENABLE_SHM CMake option
reicheratwork 1416bc6
Mark static function in header file as "inline"
eboasson 9f42b1f
Update for DDS_LOANED_SAMPLE_STATE_RAW_KEY
eboasson d76550d
No warnings for intentional use of deprecated APIs
eboasson e292878
Revert "Removed the ENABLE_SHM CMake option"
eboasson 04eac26
Fix alignment issue in type object output by IDLC
eboasson c2ca988
WiP: Iceoryx + C++
eboasson 1609961
Some fixes in SharedMemory tests
dpotman c76a306
Fix header offset in from_loaned_sample and assume native endianness …
dpotman e5a8476
Replace RTPS encoding header defines
dpotman 835e94f
Memset cdr header to 0 in serdata tests
dpotman ecaf346
Fix build-shared flag for iceoryx in build template.
dpotman 2136806
Fix sertype get_serialized_size: shouldn't include the CDR header (sa…
dpotman 6f76d01
Fixing populate hash in from_loaned_sample
dpotman cfe017c
Remove references to iceoryx_binding_c
eboasson 4464393
Things related to Iceoryx should be named that way
eboasson 0fc073c
Use ENABLE_ICEORYX in Cyclone core build config
eboasson 73e3055
Add a basic test for write_cdr
eboasson 96b09a3
Fixes originating from review process
reicheratwork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -1887,6 +1887,58 @@ class TTypeConsistencyEnforcement : public dds::core::Value<D> | |
//============================================================================== | ||
|
||
|
||
|
||
/** | ||
* @brief QoSPolicy indicating which PSMX instances to use (if present). | ||
* | ||
* Restricts the PSMX instances used for data exchange to the ones in this QoSPolicy, if populated by the user. | ||
* Populating this QoSPolicy with an empty list means no PSMX exchange will be used. | ||
* Will be default constructed, but not set as populated in the default constructed DataWriter and DataReader QoSes. | ||
* In this manner default constructed QoSes will allow all PSMX forms of exchange available to CycloneDDS. | ||
*/ | ||
template <typename D> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we still need to add documentation to this. |
||
class TPSMXInstances : public dds::core::Value<D> | ||
{ | ||
public: | ||
|
||
/** | ||
* Constructs a copy of a TPSMXInstances QoS instance | ||
* | ||
* @param other The instance to copy. | ||
*/ | ||
TPSMXInstances(const TPSMXInstances& other); | ||
|
||
/** | ||
* Constructs an initialized TPSMXInstances QoS instance | ||
* | ||
* @param instances the PSMX instances to support | ||
*/ | ||
explicit TPSMXInstances(const dds::core::StringSeq &instances = {}); | ||
|
||
/** | ||
* Copies a TPSMXInstances QoS instance | ||
* | ||
* @param other the instance to copy | ||
*/ | ||
TPSMXInstances& operator=(const TPSMXInstances& other) = default; | ||
|
||
/** | ||
* Sets which PSMX instances are supported | ||
* | ||
* @param instances which instances to support | ||
* | ||
* @return the psmx instances QoSPolicy that was changed | ||
*/ | ||
TPSMXInstances& instances(const dds::core::StringSeq &instances); | ||
|
||
/** | ||
* Get which PSMX instances are supported. | ||
* | ||
* @return sequence of strings of supported PSMX instances | ||
*/ | ||
const dds::core::StringSeq instances() const; | ||
}; | ||
|
||
} | ||
} | ||
} | ||
|
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this comment should be on the CycloneDDS-C repository's PR, but are we sure that this new Policy-ID will not conflict with other vendors' stuff?