[IGSTK-Users] A question about igstkEventTransductionMarco

Luis Ibanez luis.ibanez at kitware.com
Wed Oct 3 09:51:18 EDT 2007



Hi Vincent,

Thanks for pointing this out.

This looks indeed like a bug.


Could you please try adding to your local copy the line

        m_StateMachine.ProcessInputs();

and let us know what you find ?


If this works for you, then will log a bug report
and will fix the set of Transduction macros in
the igstkMacro.h file.  We probably should add
a explicit test just for this feature.


    Thanks



       Luis



---------------------
Vincent Gratsac wrote:
> Hi all,
> 
> I send a question on this mailing list a few days ago and I'm still not 
> able to answer it.
> 
> Could someone give me some clues ?
> 
> Thank you,
> 
> Vincent
> 
> 
>> Hi IGSTK users,
>>
>> I'm currently trying to use the igstkEventTransductionMarco in order 
>> to integrate a received event to my state machine.
>> I read the code added by this macro, and I noticed that the 
>> CallBackMyEventInput method only pushes the input in the state 
>> machine, but does not ask the state machine to process this input :
>>
>> 00272   void Callback##event##input( const ::itk::EventObject & ) \
>> 00273   { \
>> 00274     m_StateMachine.PushInput( m_##input ); \
>> 00275   } \
>>
>>
>> So I don't understand when the state machine will process inputs 
>> pushed by this macro...
>>
>> Could someone help me ?
>>
>> Thank you and have a nice day ! 
> 
> 


More information about the IGSTK-Users mailing list