Disabled instantiation of Service types

This commit is contained in:
Pavel Kirienko
2014-03-04 22:31:15 +04:00
parent 6b7eea5a4f
commit c4f47e0b70
@@ -169,6 +169,11 @@ ${'::uavcan::TailArrayOptDisabled' if (idx + 1) < len(fields) else 'tao_mode'});
% endif
return signature;
}
% if t.kind == t.KIND_SERVICE:
private:
${t.short_name}(); // Don't create objects of this type. Use Request/Response instead.
% endif
};
<%def name="define_out_of_line_constants(scope_prefix, constants)">