icyphy / ptII

Ptolemy II is an open-source software framework supporting experimentation with actor-oriented design.
https://ptolemy.eecs.berkeley.edu/ptolemyII
Other
99 stars 43 forks source link

The director of ModalModel is wrong and can't be changed in a straightforward way when you change the executive director #163

Open cxbrooks opened 15 years ago

cxbrooks commented 15 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#233 From: Bert Rodiers <bert.rodiers@gmail.com> Reported version: 7.1.devel CC: pt-dev@chess.eecs.berkeley.edu

cxbrooks commented 15 years ago

The director being used in the ModalModel depends on your executive director. For example if you add a ModalModel actor to a DE model, the director of the modal model becomes ptolemy.domains.fsm.kernel.FSMDirector, and you can switch between ptolemy.domains.fsm.kernel.FSMDirector and ptolemy.domains.fsm.kernel.MultirateFSMDirector. If you add the ModalModel actor to a Continuous model, the director of the modal model becomes ptolemy.domains.continuous.kernel.HybridModalDirector. If you then change the executive director the director of the modal model does not change, so you for example end up using ptolemy.domains.continuous.kernel.HybridModalDirector while your executive director is DE Director. Also if you would like to change the director the options that are presented are the ones that were there with the previous director, not with the new one. This also seems wrong.