Re: [scxml] Questions on Multiple Instances

2010-11-03 Thread Rahul Akolkar
On Mon, Oct 25, 2010 at 12:19 PM, Christopher Dragert chris.drag...@mail.mcgill.ca wrote: The scenario:  I have many different classes (call them type A) each with their own unique SCXML state chart. Though designed to work together, type A classes are necessarily separate because we need

[scxml] Questions on Multiple Instances

2010-10-25 Thread Christopher Dragert
The scenario: I have many different classes (call them type A) each with their own unique SCXML state chart. Though designed to work together, type A classes are necessarily separate because we need them to be used modularly. Another set of classes (call these type B), each instantiate a

Re: [scxml] Questions on Multiple Instances

2010-10-25 Thread Fabrizio Morbini
Hi Chris, i'm not sure if it helps, but you can avoid parsing the same file multiple times. You can parse the scxml network once and save the SCXML object. Then you can create many instances of SCXMLExecutor and set the network of each of them to be the pre-parsed SCXML object (using the