Timeline for How to call class A's method from class B?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 16, 2017 at 23:41 | vote | accept | wit221 | ||
Jan 26, 2017 at 4:10 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 27, 2016 at 3:33 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 27, 2016 at 3:04 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 28, 2016 at 3:02 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 27, 2016 at 22:06 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 28, 2016 at 17:04 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 29, 2016 at 16:06 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 29, 2016 at 15:06 | answer | added | John Burger | timeline score: 1 | |
Jun 29, 2016 at 12:58 | review | Close votes | |||
Jul 15, 2016 at 3:02 | |||||
Jun 29, 2016 at 12:41 | comment | added | wit221 | I am trying to create a program, which performs various tasks. Each class executes a task: in loop(), I call task1.loop(), task2.loop() etc. depending on the state of the program. Those classes need to respond to the main sketch to update the state of the program based on their completion. I haven't found a way to reference any fields or methods from the main sketch, so I created a MainClass, which would then be passed to those tasks to create aliases and access MainClass. The example that I gave is just a proof of concept - to see if I can reuse a very handy schematic from past Java projects. | |
Jun 29, 2016 at 12:20 | comment | added | Edgar Bonet | Why are you putting the whole sketch inside a class? This is like shoehorning a Java paradigm into C++. Why don't you ask about the actual problem you want to solve, instead of asking for help in following your misguided attempt at transforming C++ into Java? | |
Jun 29, 2016 at 11:46 | review | First posts | |||
Jun 29, 2016 at 12:01 | |||||
Jun 29, 2016 at 11:43 | history | asked | wit221 | CC BY-SA 3.0 |