Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
3 answers
225 views

How to allow users to provide their own child classes in a factory design pattern in c++?

I am building a c++ project that will allow users to essentially model and create their own fleet of cars. Right now, the approach I have in mind is a Car Factory Class that will implement all of the ...
J K's user avatar
  • 27
0 votes
1 answer
147 views

Best software architecture approach for a single core system

Objective: Designing a data intensive application(myApp) C++ on Linux/RTOS which runs on a single core cpu, there are also 150 other applications share the same core with high priority than myApp. How ...
uss's user avatar
  • 141
-1 votes
2 answers
70 views

OOP classes hierachies for aiding static checking justified?

upfront I develop software for big data applications of which use is beyond my control (it ends up with a user), but I am not a trained software developer. So I apologize for any wrong terminology. ...
user1407220's user avatar
3 votes
1 answer
174 views

How do you add feature to a class that was originally designed wrong in the first place? [duplicate]

I have a Surgeon class that is constantly changing class Surgeon { string name, discipline; public: Surgeon(string _name, string _discp) : name{_name}, discipline{_discp}{} void writeDir(...
user3904534's user avatar