69 reputation
4
bio website
location
age
visits member for 2 years, 10 months
seen Jun 18 '12 at 15:25

Beginning programmer!


Jun
8
accepted Help with Abstract Factory Pattern
Jun
8
comment Help with Abstract Factory Pattern
This worked perfectly. Thanks for the clarification. Being new to OOP, it was sort of a mind-twister, but it all makes sense now.
Jun
8
comment Help with Abstract Factory Pattern
Thanks pdr. My issue was that I could have just added a constructor to each abstract factory class for ICreateMedium (from NickC answer below). I over-thought this problem. Sorry for mis-communication on original question. I switched from an abstract pattern to abstract factory after doing a bit of research.
Jun
8
comment Help with Abstract Factory Pattern
"As far as creating the port, yes TCPIPMedium has to and Rs232Medium doesn't, but why is that a problem?" Which class would that be done in? That is where I am confused the most, I guess. Would that be done in the abstract factory portion, example RS232MediumCreate? Do I need to create another method in my interface (ICreateMedium) for this to happen? "Won't the commicator object call IMedium?" Yes that is a design flaw on my part. That will be fixed. Thanks.
Jun
8
revised Help with Abstract Factory Pattern
added 39 characters in body
Jun
8
asked Help with Abstract Factory Pattern
Jun
7
accepted Design help with parallel process
Jun
7
comment Design help with parallel process
Thanks Steve A. Lowe. After reading the article, I think this is the best way to go and will fit my design. Thanks again!
Jun
6
asked Design help with parallel process
May
24
accepted Design: Sharing a class between multiple forms
May
24
comment Design: Sharing a class between multiple forms
Thanks. Very informative write up. I did end up implementing it using this method and it worked perfectly.
May
24
revised Design: Sharing a class between multiple forms
Updated question to remove multi-threading option.
May
24
comment Design: Sharing a class between multiple forms
Thank you for the reply. Now that I think about it more, two forms will not be able to update it as a design guideline. No multithreading is not something I plan on achieving. The reason for this is because my program will interact with updating hardware through RS-232, so there is no possible way two forms can communicate with the hardware at the same time. I'll read up on mutex also.
May
24
asked Design: Sharing a class between multiple forms
May
24
comment Is this the best way to approach this design? Is this an example of MVC?
I'm not sure if this is StackExchange etiquette, but I had another question on this design as I was coding. Should the Log Collector Class be a singleton design pattern? Should it have an interface? I am asking because all forms need to implement this Log Collector Class
May
24
awarded  Supporter
May
24
awarded  Scholar
May
24
accepted Is this the best way to approach this design? Is this an example of MVC?
May
24
comment Is this the best way to approach this design? Is this an example of MVC?
Thank you for the reply, design-check and what type of pattern this design is. Just got done reading the link and it was quite informative.
May
24
revised Is this the best way to approach this design? Is this an example of MVC?
Wording.