Project

General

Profile

Actions

Bug #2888

closed

Minimize number of 'constant' actors

Added by Dan Higgins over 17 years ago. Updated over 17 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
07/11/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2888

Description

Current Kepler has 2 types of Constant actors (Constant and SingleFireConstant) and 2 different 'StringConstant' actors (PermanentStringConstant and StringConstant). In both cases, the primary difference is the number of times the actor 'fires'.

Ptolemy has now changed the behavior of its Constant actor to have a 'firingCountLimit' parameter. There is thus no need for the two types of 'constant' actors in Kepler (which have tended to confuse several users).

Note also that Ptolemy extends 'Const' to create 'StringConstant'. Kepler, however, does not! And Kepler's StringConstant has added a File parameter to StringConstant so that file name strings can be easily created.

We should change the StringConstant in Kepler to extend Constant AND add the File parameter.

Actions #1

Updated by Dan Higgins over 17 years ago

Number of constant actors has been reduced to 'Constant' and 'StringConstant', both of which now have a 'firingCountLimit' parameter that can be used to limit number of times an actor fires (following the Ptolemy updates).

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2888

Actions

Also available in: Atom PDF