Class SCRModel

    • Constructor Detail

      • SCRModel

        public SCRModel​(Workspace workspace)
                 throws IllegalActionException,
                        NameDuplicationException
        Construct an SCR model in the specified workspace with no container and an empty string as a name. You can then change the name with setName(). If the workspace argument is null, then use the default workspace.
        Parameters:
        workspace - The workspace that will list the actor.
        Throws:
        IllegalActionException - If the name has a period in it, or the director is not compatible with the specified container.
        NameDuplicationException - If the container already contains an entity with the specified name.