icyphy / ptII

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

Refactor actors that could benefit from new flexible typing #297

Closed cxbrooks closed 12 years ago

cxbrooks commented 12 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#500 From: Elizabeth Latronico <beth@berkeley.edu> Reported version: 8.1.devel CC: @lhstrh, ptango@chess.eecs.berkeley.edu

Blocker for: BZ#491

cxbrooks commented 12 years ago

For example, FileReader

cxbrooks commented 12 years ago

We change the type system such that any actor that does not have a declared type on its output port will be constrained to be >= GLB(port.receivers). This will only affect TypedAtomicActor and TypedCompositeActor, all subclasses (including FileReader) will automatically inherit this feature.