diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-03-13 11:53:27 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-03-13 11:53:27 +0100 |
commit | 08e08d58760277f539806bb2f7624359562d5915 (patch) | |
tree | f39d22a437198b05b5d0ae84caea22909f238519 /TAO/TAO_IDL | |
parent | bc79ed1fc15c999c1c39a8de684311b81ec1f359 (diff) | |
download | ATCD-08e08d58760277f539806bb2f7624359562d5915.tar.gz |
Generate get_type_name as part of the DDS traits, could be used for logging purposes
* TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp:
Diffstat (limited to 'TAO/TAO_IDL')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp b/TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp index e72e278c159..37275aabd0d 100644 --- a/TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp +++ b/TAO/TAO_IDL/be/be_visitor_connector/connector_dds_exh.cpp @@ -288,6 +288,7 @@ be_visitor_connector_dds_exh::gen_dds_traits (AST_Decl *datatype) os_ << be_nl << "struct " << datatype->flat_name () << "_DDS_Traits" << be_nl << "{" << be_idt_nl + << "static const char* get_type_name () { return \"" << dt_name << "\"; };" << be_nl << "typedef ::" << dt_name << " value_type;" << be_nl << "typedef ::" << dt_name; |