we have a case where an Object should be of Type "BaseObjectType" and should have a HasInterface Reference to another type. What needs to be done in the TypeDefinition to achive this?
The concrete example currently looks this this. The State Object should have a HasInterface Reference to another Type
namespace woodworking{
struct WwMachine_t {
BindableMember<MachineIdentification_t> Identification;
BindableMember<ns0::BaseObject_t> State;
};
} // namespace woodworking
REFL_TYPE(
woodworking::WwMachine_t ,
UmatiServerLib::attribute::UaObjectType(UmatiServerLib::constexp::NodeId(constants::NsWoodworkingUri, UA_WOODWORKINGID_WWMACHINETYPE)))
REFL_FIELD(
Identification,
UmatiServerLib::attribute::UaBrowseName(constants::NsDIUri))
REFL_FIELD(
State
)