Package ptolemy.actor

Examples of ptolemy.actor.FiringsRecordable


                    break;
                }

                // container is checked for null to detect the
                // deletion of the actor from the topology.
                FiringsRecordable firingsRecordable = null;
                if (((Entity) _actor).getContainer() != null) {
                    if (_actor instanceof FiringsRecordable) {
                        firingsRecordable = (FiringsRecordable) _actor;
                    }

                    if (_actor.prefire()) {

                        if (firingsRecordable != null) {
                            firingsRecordable
                                    .recordFiring(FiringEvent.BEFORE_FIRE);
                        }

                        _actor.fire();

                        if (firingsRecordable != null) {
                            firingsRecordable
                                    .recordFiring(FiringEvent.AFTER_FIRE);
                        }

                        iterate = _actor.postfire();
                    }
View Full Code Here

TOP

Related Classes of ptolemy.actor.FiringsRecordable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.