Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E Eclipse eTrice
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 58
    • Issues 58
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 5
    • Merge requests 5
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse ProjectsEclipse Projects
  • Eclipse eTrice™
  • Eclipse eTrice
  • Issues
  • #46
Closed
Open
Issue created May 04, 2022 by Eyrak Paen-Rochlitz@epaenDeveloper

Invalid connection possible in inherited structure diagram

In an inherited diagram, it is possible to create an invalid connection between the port of a contained ActorRef (either inherited or local) and an inherited external end port. Normally, external end ports cannot be further connected inside the actor. This invalid connection cannot be serialized in the textual model and causes an error (see screenshot).

Room example:

ProtocolClass pc {
    incoming {
        Message msg
    }
}

ActorClass PortBindingActorExample {
    Interface {
        Port p_ext: pc
    }
    Structure {
        external Port p_ext
        ActorRef aref: InnerActor
    }
}

ActorClass SubclassActor extends PortBindingActorExample {
    Structure {
        ActorRef aref_sub: InnerActor
    }
}

ActorClass InnerActor {
    Interface {
        conjugated Port p: pc
    }
    Structure {
        external Port p
    }
}

Screenshot

Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent