[kepler-users] Adding new parameters

Christopher Brooks cxh at eecs.berkeley.edu
Sun May 23 08:27:47 PDT 2010


Hi Arwa,
See
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII8.0/ptII/doc/codeDoc/ptolemy/kernel/util/NamedObj.html#getAttribute%28java.lang.String,%20java.lang.Class%29

The java would be:
getAttribute("NewParameter", Parameter.class);

See also the Ptolemy design document,
http://ptolemy.eecs.berkeley.edu/ptolemyII/designdoc.htm
Especially chapter 5 "Designing Actors" of Volume 2.

_Christopher

On 5/22/10 1:32 PM, Jamnagarwala, Arwa Mohmadi wrote:
> Hi All,
>
>
> When we configure an actor we have an option to "Add" a new parameter. I was wondering how do we refer to that parameter (which may be added later) in the actor's "fire" operation?
>
>
> Thank you!
> Arwa
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670



More information about the Kepler-users mailing list