Continues migration with DDS, Common
This commit is contained in:
1 parent
9b15cee841
commit
fa48db111e
668 files changed
+111841
-2
No files matched your search
Executable
+39
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Template for idl struct definitions
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Hanna E. Rathje, SLSE, 2015-08-05
|
||||
*/
|
||||
|
||||
{% autoescape off %}
|
||||
// filename: {{ namespace_abbr }}.idl
|
||||
#ifndef {{ namespace_abbr }}_idl_included
|
||||
#define {{ namespace_abbr }}_idl_included
|
||||
|
||||
//@copy #include <{{ include_prefix }}/{{ namespace_abbr }}_export.h> // #define NDDSUSERDllExport for linux
|
||||
|
||||
//@copy #include "{{ namespace_abbr }}_enums.hpp"
|
||||
#include "{{ namespace_abbr }}_enums.idl"
|
||||
|
||||
{% for ext_service in ext_services.member %}
|
||||
//@copy #include <{{ ext_service.baseFilePath }}.hpp>
|
||||
#include <{{ ext_service.baseFilePath }}.idl>
|
||||
{% endfor %}
|
||||
|
||||
module {{ namespace }}
|
||||
{
|
||||
{% for idl_struct in idl_structs %}
|
||||
|
||||
{% if idl_struct.comment %} // {{ idl_struct.comment }} {% endif %}
|
||||
struct {{ idl_struct.name }} {% if idl_struct.baseValueType %}: {{ idl_struct.baseValueType }} {% endif %}
|
||||
{ {% for idl_member in idl_struct.member %}
|
||||
{{ idl_member.type }} {{ idl_member.name }}; {{ idl_member.isKey }} {{ idl_member.isOptional }} {% endfor %}
|
||||
}; //@Extensibility {{ idl_struct.extensibility }}
|
||||
|
||||
{% endfor %}
|
||||
}; // namespace {{ namespace }}
|
||||
|
||||
#endif
|
||||
{% endautoescape %}
|
||||
Reference in new issue
Block a user