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
+32
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Template for idl struct definitions
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Hanna E. Rathje, SLSE, 2015-08-19
|
||||
*/
|
||||
|
||||
{% autoescape off %}
|
||||
// filename: {{ namespace_abbr }}_enums.idl
|
||||
#ifndef {{ namespace_abbr }}_enums_idl_included
|
||||
#define {{ namespace_abbr }}_enums_idl_included
|
||||
|
||||
//@copy #include <{{ include_prefix }}/{{ namespace_abbr }}_export.h> // #define NDDSUSERDllExport for linux
|
||||
|
||||
|
||||
module {{ namespace }}
|
||||
{
|
||||
{% for idl_enum in idl_enums %}
|
||||
enum {{ idl_enum.name }}
|
||||
{
|
||||
{% for idl_member in idl_enum.member %}
|
||||
{{ idl_member.key }} = {{ idl_member.value }}{% if not forloop.last %},{% endif %} {% endfor %}
|
||||
};
|
||||
|
||||
{% endfor %}
|
||||
|
||||
}; // module {{ namespace }}
|
||||
|
||||
#endif
|
||||
{% endautoescape %}
|
||||
Reference in new issue
Block a user