Class PreinitializeMustBeInvoked

    • Method Detail

      • prefire

        public boolean prefire()
                        throws IllegalActionException
        Description copied from class: Source
        If the trigger input is connected and it has no input or an unknown state, then return false. Otherwise, return true.
        Specified by:
        prefire in interface Executable
        Overrides:
        prefire in class Source
        Returns:
        True, unless the trigger input is connected and has no input.
        Throws:
        IllegalActionException - If checking the trigger for a token throws it or if the super class throws it.
      • preinitialize

        public void preinitialize()
                           throws IllegalActionException
        Description copied from class: AtomicActor
        Create receivers and declare delay dependencies. Derived classes can override this method to perform additional initialization functions, but they should call this base class methods or create the receivers themselves. This method gets executed exactly once prior to any other action methods. It cannot produce output data since type resolution is typically not yet done. It also gets invoked prior to any static scheduling that might occur in the domain, so it can change scheduling information.
        Specified by:
        preinitialize in interface Initializable
        Overrides:
        preinitialize in class AtomicActor<TypedIOPort>
        Throws:
        IllegalActionException - Not thrown in this base class.
      • wrapup

        public void wrapup()
                    throws IllegalActionException
        Description copied from class: AtomicActor
        Do nothing except invoke the wrapup() methods of any objects that have been registered with addInitializable(). Derived classes override this method to define operations to be performed exactly once at the end of a complete execution of an application. It typically closes files, displays final results, etc.
        Specified by:
        wrapup in interface Initializable
        Overrides:
        wrapup in class AtomicActor<TypedIOPort>
        Throws:
        IllegalActionException - Not thrown in this base class.