Make "addObjectsFolderMYOBJECT(factory)" public

Suggestions for new features in our products, improvements and requirements ...

Moderator: Support Team

Post Reply
MartinMajewski
Full Member
Full Member
Posts: 6
Joined: 24 Jun 2021, 17:13

Make "addObjectsFolderMYOBJECT(factory)" public

Post by MartinMajewski »

Hi there,

how to put it straight?

UaModeler's capability to instantiate a Type is great and makes life so much easier. However, there should be an option if this instantiation will produce "production-ready" code like it does now (directly browsable after the myNodeManager is assigned to the server), or if just the boilerplate code is created.

As I have another use-case for this functionality than just using it for demo purposes, I have to move the addObjectsFolderMYOBJECT(factory) method definitions to the
public:
section after every single code generation, as the NodeManagerBase file gets overwritten. Moreover, I have to remove the call to this function from the
MyNS_NodeManagerMYOBJECTTYPEnsbase.cpp
so I can instantiate the object tree when I have to during runtime.

It would be great if this functionality would be more accessible.

Best wishes,
Martin

Post Reply