Reactions are now specified with a reactions member typedef in a state class declaration instead of a template parameter

[SVN r28848]
This commit is contained in:
Andreas Huber
2005-05-12 17:44:20 +00:00
parent 4ca855ed69
commit 14abfe8a5a
38 changed files with 360 additions and 276 deletions

View File

@@ -260,15 +260,15 @@ struct FlipTransitionList
//////////////////////////////////////////////////////////////////////////////
template< unsigned int stateNo >
struct BitState :
sc::simple_state< BitState< stateNo >, BitMachine,
typename FlipTransitionList< stateNo >::type >,
struct BitState : sc::simple_state< BitState< stateNo >, BitMachine >,
#ifdef CUSTOMIZE_MEMORY_MANAGEMENT
IDisplay, UniqueObject< BitState< stateNo > >
#else
IDisplay
#endif
{
typedef typename FlipTransitionList< stateNo >::type reactions;
virtual void Display() const
{
DisplayBits( stateNo );