Search found 5 matches

by Wolfgang Petroschka
07 Dec 2018, 13:43
Forum: yasmine
Topic: Using Y_BEHAVIOR_METHOD2 with classes with inheritence
Replies: 3
Views: 3739

Re: Using Y_BEHAVIOR_METHOD2 with classes with inheritence

The board software removed the line breaks in the code, so here for now without code tags: ////////////////////////////////////////////////////////////////////////////////////////////////////// // // // This file is part of the Seadex yasmine ecosystem (http://yasmine.seadex.de). // // Copyright (C)...
by Wolfgang Petroschka
07 Dec 2018, 13:42
Forum: yasmine
Topic: Using Y_BEHAVIOR_METHOD2 with classes with inheritence
Replies: 3
Views: 3739

Re: Using Y_BEHAVIOR_METHOD2 with classes with inheritence

Hi Milad, sorry, that it took actually ages to answer your questions. But we have been super busy... First of all, I have to ask if it is possible to use Y_BEHAVIOR_METHOD2 macro with classes with several layers of inheritance and call functions from the parent and any of the children? Yes, it is. B...
by Wolfgang Petroschka
04 Sep 2018, 10:07
Forum: yasmine
Topic: Running Several StateMachine in one program.
Replies: 2
Views: 3205

Re: Running Several StateMachine in one program.

Hi Milad, firstly sorry for the delayed answer. I had overlooked the notification email. "First I have to appreciate your outstanding work. It is amazing." Thank you very much! Yes, it is possible to run multiple state machines in one program. And it is a very common use case. sync state machines ju...
by Wolfgang Petroschka
24 Feb 2017, 09:55
Forum: yasmine
Topic: Is the event processing re-entrant?
Replies: 4
Views: 13422

Re: Is the event processing re-entrant?

The feature will be part of the yasmine release 1.1.0 which is going to be available in the next couple of days!
by Wolfgang Petroschka
23 Jan 2017, 14:50
Forum: yasmine
Topic: Is the event processing re-entrant?
Replies: 4
Views: 13422

Re: Is the event processing re-entrant?

I often find that within a behavior handler I need to fire off a new event, to be handled by some other part of my state machine (which is constructed from multiple encapsulated submachine classes, which I reuse). Currently I simply store a reference to the top level state machine within my submach...

Go to advanced search