Skip to content

How to make duplicated action/condition Node with same behavior/algorithm but "InputPort" are unique name for each Node #607

Closed

Description

@aminballoon

I'm using BT4.3.3 and I have tried to make duplicated action or condition Node with same behavior/algorithm and "InputPort" are unique name for each node but the function providedPorts is static function it can't set the port with variable .
Can someone suggest me to solve this issue ?

Activity

  1. facontidavide commented on Jul 20, 2023

    @facontidavide
    Collaborator

    I think it COULD be possible with a mix of Polymorphism AND Curiously Recurring Template Pattern, but I can't see a reason why you would wan t to do that.

    Can you provide a motivating example? I think you don't need to actually do that.

  2. locked and limited conversation to collaborators on Jul 21, 2023
  3. converted this issue into a discussion #612 on Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions