[IGSTK-Developers] Re: igstk Macro Error

Luis Ibanez luis.ibanez at kitware.com
Tue Dec 20 15:46:57 EST 2005


Hi Patrick,

Thanks for pointing this out.

I logged a bug entry for it and committed a fix.

Please let me know if you see any other problem.


   Thanks


     Luis


---------------------
Patrick Cheng wrote:
> Hi Luis,
> 
> The igstkAddInputMacro() and igstkAddStateMacro() has two minor bugs,
> in the igstkMacro.h file
> 
> Line 203:
> this->m_StateMachine.AddInput( this->m_##inputname##Input, 
> "inputname##Input" );
> 
> and line 208:
> this->m_StateMachine.AddState( this->m_##statename##State, 
> "statename##State" );
> 
> The 'inputname' and 'statename' variable is not being substituted, thus 
> the descriptor is not being set properly, you can check the log of for 
> the state transition to verify that.
> 
> I am not sure how to concatenate with the '"'. Hope yo can fix that.
> 
> Patrick
> 




More information about the IGSTK-Developers mailing list