eclipse-score / eclipse-score/communication

Improvement: Remove deprecated API GetSampleSize

Open
#975 0 comments 0 reactions 1 assignee Claimed by @NemanjaTrifunovicRTRK View on GitHub
Dominant language
C++
Stars
62
Forks
97
Avg merge
1d 1h
Merged PRs (30d)
72

Description

### What

The API `std::size_t GetSampleSize() const noexcept` is deprecated after the addition of `memory::DataTypeSizeInfo GetDataTypeSizeInfo() const` in issue #852.

It should be removed.

### How

* Usage of `GetSampleSize()` should be replaced with `GetDataTypeSizeInfo().Size()`.
* `GetSampleSize()` should be removed from score/mw/com/impl/generic_proxy_event_binding.h.
* The requirement for `GetSampleSize()` should be removed from score/mw/com/dependability/requirements/component_requirements/component_requirements_ipc_generic_proxy.trlc

### Estimates for realization

_No response_

### Category

- [ ] Affects Detailed Design

### Requirements / Architecture

- [ ] Requirements / Architecture are not affected by this change?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.