Boost logo

Boost Users :

From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2005-03-11 10:10:44


> Andreas Huber wrote:
> > struct ShowEntry : fsm::simple_state< ShowEntry, Application >
> > {
> > fsm::result react( const EvEntryInfo & info )
> > {
> > /* display info here */
> > }
> > };

This is of course nonsense, there must also be a reaction, as follows:

struct ShowEntry : fsm::simple_state< ShowEntry, Application,
  fsm::custom_reaction< EvEntryInfo > >
{
  fsm::result react( const EvEntryInfo & info )
  {
    /* display info here */
  }
};

But I'm sure you got the idea...

Regards,

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header.

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