192 reputation
7
bio website
location
age
visits member for 3 years, 5 months
seen Feb 26 '13 at 4:55

Jun
4
awarded  Nice Question
Aug
15
awarded  Popular Question
Feb
25
awarded  Caucus
Aug
8
accepted 1-click software release
Jul
27
revised 1-click software release
added 1 characters in body
Jul
27
revised 1-click software release
added 702 characters in body
Jul
27
asked 1-click software release
Jul
26
accepted Can an object oriented program be seen as a Finite State Machine?
Jul
22
awarded  Supporter
Jul
22
awarded  Student
Jul
22
asked Can an object oriented program be seen as a Finite State Machine?
Jul
9
awarded  Scholar
Jul
9
accepted Designing classes containing the same objects but different amount of them
Jul
9
comment Designing classes containing the same objects but different amount of them
@Mchl: I am designing an actual controller, and yes, you are right, speed might become an issue. Most of the application side (which is my job to design) will offshore the machine control commands to a custom circuit. Our current system runs in a PC, and it does not have speed problems. But we need to keep an eye on that too.
Jul
9
comment Designing classes containing the same objects but different amount of them
I have already started looking at some OOA&D books and design patterns (GoF). But, as you mentioned it, it is quite complex to have a clean initial sketch. Maybe, I should put a post with some UML class diagrams and the problems I am having. In order to see what the community thinks about it.
Jul
9
comment Designing classes containing the same objects but different amount of them
@Steven: Mainly the machine is a design for a CNC machine. So, the core functionality is joging different axes in the machine (continuous and step mode), turning on the end effector (spindle, plasma, etc.), changing tools (combination of previous + spindle control), and the most fundamental is to run toolpaths (e.g. gcode files), which is able to use all functionality in a single run. So, to summarize, machine would have methods such as continuousjog, stepjog, loadtoolpath, runtoolpath, etc...
Jul
9
comment Designing classes containing the same objects but different amount of them
Thanks for the answer. Two quick observations: 1) How would I differ between the different items in the vector or list? shouldn't I create several different item repositories? (e.g. axis_vector) 2) If the ini file constructor is used, any new machine configuration wouldn't have to be updated within the class? wouldn't the class be more prone towards changes? Thanks
Jul
9
awarded  Editor
Jul
9
revised Designing classes containing the same objects but different amount of them
edited title
Jul
9
asked Designing classes containing the same objects but different amount of them