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 7631505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:22:14+00:00 2026-05-31T06:22:14+00:00

I am developing a video player for our department using C++. This video player

  • 0

I am developing a video player for our department using C++.

This video player has three core modules: Reader(for reading data packets), Processor(decode the raw data), Display Handle(draw data on the screen). They are not close-coupled classes, which means they perform their jobs sort of independently.

However, I have a GUI module that interfaces these three modules and the client. It will retrieve the commands from user, such as pause, continue, jump to a particular location in the video clip. This GUI module will then delegate the jobs to the three modules mentioned above.
As a result, this GUI module grows fairly big as it contains many functions that the client will interact with. Though again, I am really careful that I don’t let this GUI module do any real processing tasks(they are done on the three core modules), I am afraid this GUI module becomes a God Object or “Blob” which is an anti-pattern in Object-oriented design.

This is the sample declaration for the GUI module here:

class CorePlayer
{
public:
   CorePlayer();
   ~CorePlayer();

public:
   void start();
   void pause();
   void continue();
   void jumpToFrame(int frameNum);
   void toggleFullScreen();
   .........
private:
   Reader* rModule_;
   Processor* pModule_;
   DisplayHandle* dspHandle_;
}

There are a lot more functions in the …….. area. They are functions people need for the media player. They don’t perform the real processing, they delegate jobs to the modules.

Can anybody help to clarify my concerns that this GUI module is a “Blob” using the design described?

  • 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-05-31T06:22:16+00:00Added an answer on May 31, 2026 at 6:22 am

    That doesn’t look like a blob to me — it’s just a feature-rich GUI controller for a playback module. It would become a blob though, were it stuffed with additional functions unrelated to playback, like “Settings”, “Plug-in Management”, etc.

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

Sidebar

Related Questions

I'm currently developing a video player for streamed-content using the AVPlayer Framework. I stumbled
I am developing a video player using the OSMF library. I have the problem
I am developing a video player using html5 for iPad and iPhone device, I
Hi I am developing an application that play video in android player. But i
i am developing a video player i silverlight i wanna something to prevent recording
I'm developing a win forms, continious 24/7 video player and I need some help
I worked for hours in developing a proper streaming video player in android and
i am developing an application which can play youtube video in webview using iframe.
I am developing a custom Youtube video player. But I am not able to
I'm currently developing a video player with support for ipad. It's more of a

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.