DUNE-DAQ / DUNE-DAQ/fdreadoutlibs

Enforce type adapter mandatory functions and signatures

Open
#74 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
0
Forks
3
Avg merge
1d 11h
Merged PRs (30d)
5

Description

It would be very useful to enforce somehow that type adapters implement the mandatory functions that are called from readoutlibs.
Ideas: https://stackoverflow.com/questions/87372/check-if-a-class-has-a-member-function-of-a-given-signature

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the type adapters and the mandatory functions called from readoutlibs. Determine which functions and signatures must be enforced and how the project currently validates adapter implementations. Done means the required adapter contract is enforced and incompatible implementations are detected, with suitable validation added where the repository supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.