forked from RemedyIT/taox11
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request RemedyIT#364 from jwillemsen/jwi-typecodevisitor
Move typecode generation out of the various type template
- Loading branch information
Showing
27 changed files
with
142 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
|
||
// generated from <%= ridl_template_path %> | ||
void <%= sendc_prefix_get %><%= name %> ( | ||
<%= interface.handler_scoped_cxx_in_type %> ami_handler); | ||
void <%= sendc_prefix_get %><%= name %> (<%= interface.handler_scoped_cxx_in_type %> ami_handler); | ||
% unless is_readonly? | ||
|
||
void <%= sendc_prefix_set %><%= name %> ( | ||
<%= interface.handler_scoped_cxx_in_type %> ami_handler, | ||
<%= cxx_in_type %> _x11_<%= cxxname %>); | ||
void <%= sendc_prefix_set %><%= name %> (<%= interface.handler_scoped_cxx_in_type %> ami_handler, <%= cxx_in_type %> _x11_<%= cxxname %>); | ||
% end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,5 +97,3 @@ private: | |
//@} | ||
% end | ||
}; // class <%= cxxname %> | ||
%# | ||
% visit_template('typecode') if generate_typecode_support? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
// generated from <%= ridl_template_path %> | ||
class <%= cxxname %>; | ||
%# | ||
% visit_template('typecode') if generate_typecode_support? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
%# Generate the typecode for any type which is declared not at module level (could be part of an union or interface) | ||
%if generate_typecode_support? | ||
% unless in_module_scope? | ||
|
||
// generated from <%= ridl_template_path %> | ||
#if !defined (__TAOX11_TYPECODE_<%= scoped_cxxname.to_include_guard %>_DECL__) | ||
#define __TAOX11_TYPECODE_<%= scoped_cxxname.to_include_guard %>_DECL__ | ||
% if in_module_scope? | ||
extern <%= anytypecode_export_macro %>TAOX11_NAMESPACE::CORBA::typecode_reference const <%= cxx_typecode %>; | ||
% else | ||
static TAOX11_NAMESPACE::CORBA::typecode_reference const <%= cxx_typecode %>; | ||
% end | ||
#endif | ||
% end | ||
%end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
%# Generate the typecode for any type at module level | ||
%if in_module_scope? | ||
|
||
// generated from <%= ridl_template_path %> | ||
#if !defined (__TAOX11_TYPECODE_<%= scoped_cxxname.to_include_guard %>_DECL__) | ||
#define __TAOX11_TYPECODE_<%= scoped_cxxname.to_include_guard %>_DECL__ | ||
extern <%= anytypecode_export_macro %>TAOX11_NAMESPACE::CORBA::typecode_reference const <%= cxx_typecode %>; | ||
#endif | ||
%end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
// generated from <%= ridl_template_path %> | ||
class <%= stub_export_macro %><%= cxxname %>; | ||
%# | ||
% visit_template('typecode') if generate_typecode_support? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
// generated from <%= ridl_template_path %> | ||
class <%= cxxname %>; | ||
%# | ||
% visit_template('typecode') if generate_typecode_support? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
|
||
// generated from <%= ridl_template_path %> | ||
virtual void | ||
get_<%= name %> (<%= scoped_cxx_in_type %> ami_return_val) = 0; | ||
|
||
virtual void | ||
get_<%= name %>_excep (IDL::traits<TAOX11_NAMESPACE::Messaging::ExceptionHolder>::ref_type excep_holder) = 0; | ||
|
||
virtual void get_<%= name %> (<%= scoped_cxx_in_type %> ami_return_val) = 0; | ||
virtual void get_<%= name %>_excep (IDL::traits<TAOX11_NAMESPACE::Messaging::ExceptionHolder>::ref_type excep_holder) = 0; | ||
% unless is_readonly? | ||
virtual void | ||
set_<%= name %> () = 0; | ||
|
||
virtual void | ||
set_<%= name %>_excep (IDL::traits<TAOX11_NAMESPACE::Messaging::ExceptionHolder>::ref_type excep_holder) = 0; | ||
|
||
virtual void set_<%= name %> () = 0; | ||
virtual void set_<%= name %>_excep (IDL::traits<TAOX11_NAMESPACE::Messaging::ExceptionHolder>::ref_type excep_holder) = 0; | ||
% end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.