Boost logo

Boost Users :

From: Jan Eickmann (je_at_[hidden])
Date: 2005-03-12 14:30:41


Andreas Huber wrote:
>>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,
>

:-), yes I got the idea.

Thanks again,

Jan Eickmann


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