Skip to content

Question on DynamicData xtype #1416

@AlgoryxJosef

Description

@AlgoryxJosef

Hi, I found the dynsub.c example really helpful. I was wondering how I would go about going the other way?
That is, can I create a DynamicData type if I know the layout of a certain message at runtime, but dont know about the message type at compile time?

Some dds implementations have factory methods to construct DynamicData (xtypes?), are there any similar things here?
I know dynamic types are easiest in Python, but lets say for arguments sake that I am bound to C.

Best regards
Josef

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