Passing a member function to LocalTasks::registrate
Hi There,
I would like to create a class that will incapsulate my FSM node and use member functions from that class as my state task routines (see example below). Is there an example to do something like this.
Thanks
class myFSMClass{
public:
FSM(myFSM) { FSM_STATES { ... } .. }
myFunction(); }
int main(int argc, char **argv){
myFSMClass fsmObj = new myFSMClass(); ... registrate("State1",&myFSMClass::myFunction()); ... }