
15 Apr
2008
15 Apr
'08
12:05 p.m.
Sorry, my bad. I forgot to mention that you need to add a class member > specialization as well, right after the declaration of your FSM:> > template<> void sc::asynchronous_state_machine<> YourClassName, YourInitialStateName >::initiate_impl() {}> Ok, now it's almost ok :). One minor issue is that machine_base is a private typedef, so I substituted it by the explicit type:
void MyClassName::initiate_impl(){ state_machine