Boost logo

Boost Users :

From: Igor R. (igor_rubinov_at_[hidden])
Date: 2008-04-15 08:05:52


> 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<MyClassName, MyInitialState>::initiate();}
This way it compiles well.
 
Thanks again!
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net