Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7877813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:29:02+00:00 2026-06-03T03:29:02+00:00

I have a signal processing pathway made of many classes. Each processing class is

  • 0

I have a signal processing pathway made of many classes. Each processing class is a composition of smaller classes, each of which have their own parameters.

Until now, I have been lazy and stored all of the processing parameters in a separate parameter class. I made this a friend of all of the processing classes so they could just access its data members directly. However, this makes for very strong coupling between the individual blocks and the parameter class, making the design completely inflexible.

I am redesigning the code so that each small process owns it’s own private data members that it needs in order to function to reduce the coupling. But now, if a new set of parameters are loaded, I need a complex method that sets all of the parameters (using accessor functions) in each of the separate processing blocks. The commands within this method would be strongly coupled to the process. How do I minimize this coupling?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T03:29:03+00:00Added an answer on June 3, 2026 at 3:29 am

    I’d suggest something similar to Context Pattern. On construction of your processes, load them with the context object or objects (you can have variety of contexts for various processes). Then let each process to request and retrieve necessary parameters from given context object. This way, you move the responsibility of setting process parameters entirely to those processes. In other words, process knows what parameters it needs, so process can request them from given context object and set its privately stored members directly.

    Note, there are various flavours of Context Pattern, generally it’s fairly flexible concept.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically I have created two MATLAB functions which involve some basic signal processing and
I have a buffer in class 'bufferClass' that will generate a signal to tell
I have this project explained in Wiley-Embedded Signal Processing with the Micro Signal Architecture.2007
I have a signal made up of the sum of a number of sine
I have a program which runs a certain processing suits on a large set
As part of a university project I have to do some signal processing and
In their book Digital Signal Processing Proakis & Manolakis describe a Method for computing
I have a problem understanding some code fragment from Matlab Signal processing Toolbox fir2()
I have a header file, that is for a GNU Radio Signal Processing block,
I originally had a number of signal processing filter classes that were identical apart

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.