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

CPublisher and CSubscriber member variables private #1842

Merged
merged 4 commits into from
Dec 6, 2024

Conversation

rex-schilasky
Copy link
Contributor

@rex-schilasky rex-schilasky commented Dec 6, 2024

Description

CPublisher and CSubscriber:

  • m_created state variable replaced by datawriter/reader instance
  • datawriter and datareader member private

SetID renamed to SetFilterID(s)
@rex-schilasky rex-schilasky added the cherry-pick-to-NONE Don't cherry-pick these changes label Dec 6, 2024
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

@@ -267,9 +267,9 @@ namespace eCAL
return(true);
}

void CDataReader::SetID(const std::set<long long>& id_set_)
void CDataReader::SetFilterIDs(const std::set<long long>& filter_ids_)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: no header providing "std::set" is directly included [misc-include-cleaner]

ecal/core/src/readwrite/ecal_reader.cpp:26:

+ #include <set>

@@ -159,7 +159,7 @@ namespace eCAL
return true;
}

size_t CDataWriter::Write(CPayloadWriter& payload_, long long time_, long long id_)
size_t CDataWriter::Write(CPayloadWriter& payload_, long long time_, long long filter_id_)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: no header providing "size_t" is directly included [misc-include-cleaner]

  size_t CDataWriter::Write(CPayloadWriter& payload_, long long time_, long long filter_id_)
  ^

@rex-schilasky rex-schilasky merged commit 196033e into master Dec 6, 2024
20 checks passed
@rex-schilasky rex-schilasky deleted the hotfix/pubsub-member-private branch December 6, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-to-NONE Don't cherry-pick these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants