All Questions
4 questions
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 ...
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 ...
-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.
...
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(...