Skip to content

Namespace Qualifier in Instance Name #994

@maxfirefly

Description

@maxfirefly

Problem Description

Component namespaces do not show up in FSW events. For example, if I declare

Namespace1.myComponent: MyComponent

and

Namespace2.myComponent: MyComponent

and MyComponent has an event MY_EVENT, both instances would result in:

EVENT: ... ACTIVITY HI: (myComponent) ...

and omit the namespace qualifiers. This makes it ambiguous which component this event came from. The root cause is that the autocoded instantiation of components does not include the namespace qualifiers. For example:

Image

Ideally, the autocoder included the namespace when constructing the instance names and these would become:

namespace cmdSeq0 {

  Svc::FpySequencer cmdSeq(FW_OPTIONAL_NAME("cmdSeq0.cmdSeq"));

}

etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    CCB

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions