summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-11-06 17:52:12 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-11-06 17:52:12 +0000
commit3796aaa44af926b44ff8ddd949d777bc91934b8a (patch)
treeddaa4aa418ebee2b3e2a8bf74fbd337ff23e1f6a
parent7f66556a410989074688246e478a32f503e70c6f (diff)
downloadATCD-3796aaa44af926b44ff8ddd949d777bc91934b8a.tar.gz
ChangeLogTag: Mon Nov 6 17:48:56 UTC 2006 Jeff Parsons <j.parsons@vanderbilt.edu>ChangeLog
-rw-r--r--CIAO/CIDLC/ServantHeaderGenerator.cpp3
-rw-r--r--CIAO/CIDLC/ServantSourceGenerator.cpp26
-rw-r--r--CIAO/ChangeLog76
3 files changed, 64 insertions, 41 deletions
diff --git a/CIAO/CIDLC/ServantHeaderGenerator.cpp b/CIAO/CIDLC/ServantHeaderGenerator.cpp
index 2c115143fa9..f6ec8840e48 100644
--- a/CIAO/CIDLC/ServantHeaderGenerator.cpp
+++ b/CIAO/CIDLC/ServantHeaderGenerator.cpp
@@ -727,7 +727,8 @@ namespace
os << "// CIAO-specific in " << STRS[COMP_ECB] << "." << endl
<< "virtual void" << endl
<< "ciao_push_event ( ::Components::EventBase *ev," << endl
- << "const char * source_id" << endl
+ << "const char * source_id," << endl
+ << "::CORBA::TypeCode_ptr tc" << endl
<< STRS[ENV_HDR] << ")" << endl
<< STRS[EXCP_START] << " "
<< STRS[EXCP_SYS] << "," << endl
diff --git a/CIAO/CIDLC/ServantSourceGenerator.cpp b/CIAO/CIDLC/ServantSourceGenerator.cpp
index 87e6b1f6543..9e0d8e8de6a 100644
--- a/CIAO/CIDLC/ServantSourceGenerator.cpp
+++ b/CIAO/CIDLC/ServantSourceGenerator.cpp
@@ -549,18 +549,20 @@ namespace
// Nested classes used by ContextEmitter.
private:
struct ContextPortsEmitter : Traversal::SingleUserData,
- Traversal::MultiUserData,
- Traversal::PublisherData,
- Traversal::EmitterData,
- EmitterBase
+ Traversal::MultiUserData,
+ Traversal::PublisherData,
+ Traversal::EmitterData,
+ EmitterBase
{
ContextPortsEmitter (Context& c, SemanticGraph::Component& scope)
: EmitterBase (c),
type_name_emitter_ (c),
+ enclosing_type_name_emitter_ (c),
simple_type_name_emitter_ (c),
scope_ (scope)
{
belongs_.node_traverser (type_name_emitter_);
+ enclosing_belongs_.node_traverser (enclosing_type_name_emitter_);
simple_belongs_.node_traverser (simple_type_name_emitter_);
}
@@ -839,7 +841,15 @@ namespace
<< "{"
<< "(*giter).int_id_->ciao_push_event" << " (" << endl
<< "ev," << endl
- << "source_id.c_str ()" << endl
+ << "source_id.c_str ()," << endl;
+
+ Traversal::PublisherData::belongs (p, enclosing_belongs_);
+
+ os << "::_tc_";
+
+ Traversal::PublisherData::belongs (p, simple_belongs_);
+
+ os << "," << endl
<< STRS[ENV_ARG] << ");"
<< "ACE_CHECK;" << endl
<< "}"
@@ -1041,8 +1051,10 @@ namespace
private:
FullTypeNameEmitter type_name_emitter_;
+ EnclosingTypeNameEmitter enclosing_type_name_emitter_;
SimpleTypeNameEmitter simple_type_name_emitter_;
Traversal::Belongs belongs_;
+ Traversal::Belongs enclosing_belongs_;
Traversal::Belongs simple_belongs_;
SemanticGraph::Component& scope_;
};
@@ -2238,13 +2250,13 @@ namespace
os << "Consumer_" << c.name ()
<< "_Servant::ciao_push_event (" << endl
<< "::Components::EventBase *ev," << endl
- << "const char * source_id" << endl
+ << "const char * /* source_id */," << endl
+ << "::CORBA::TypeCode_ptr /* tc */" << endl
<< STRS[ENV_SRC] << ")" << endl
<< STRS[EXCP_START] << " "
<< STRS[EXCP_SYS] << "," << endl
<< STRS[EXCP_BET] << "))" << endl
<< "{"
- << "ACE_UNUSED_ARG (source_id);" << endl
<< "this->push_event (ev);" << endl
<< "}";
diff --git a/CIAO/ChangeLog b/CIAO/ChangeLog
index 05b8d7987e6..89db2249a85 100644
--- a/CIAO/ChangeLog
+++ b/CIAO/ChangeLog
@@ -1,7 +1,17 @@
+Mon Nov 6 17:48:56 UTC 2006 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * CIDLC/ServantHeaderGenerator.cpp:
+ * CIDLC/ServantSourceGenerator.cpp:
+
+ Changed signature of generated ciao_push_event() method,
+ with additional typecode parameter, also added this arg
+ to a generated call to the CIAO Event Service version
+ of this method.
+
Thu Oct 26 14:37:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
- * DAnCE/StaticConfigurator/StaticDAnCEParser.cpp:
- Use ACE_OS methods, this fixes bugzilla 2691.
+ * DAnCE/StaticConfigurator/StaticDAnCEParser.cpp:
+ Use ACE_OS methods, this fixes bugzilla 2691.
Thanks to Sowayan Abdullah <abdullah dot sowayan at lmco dot com>
for reporting this issue
@@ -29,23 +39,23 @@ Wed Oct 25 14:54:03 UTC 2006 Boris Kolpackov <boris@codesynthesis.com>
Wed Oct 25 11:02:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
- * examples/Null_Component/StaticDAnCEApp.mpc:
- Enabled this project in all builds
+ * examples/Null_Component/StaticDAnCEApp.mpc:
+ Enabled this project in all builds
Mon Oct 23 19:35:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
- * DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp:
- Added missing CORBA::string_dup to fix crash with BCB
+ * DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp:
+ Added missing CORBA::string_dup to fix crash with BCB
Fri Oct 20 06:41:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
- * DAnCE/StaticConfigurator/StaticDAnCEParser.cpp:
- Changed the HomeAttributes generation in such a way that it
- also compiles with BCB6
+ * DAnCE/StaticConfigurator/StaticDAnCEParser.cpp:
+ Changed the HomeAttributes generation in such a way that it
+ also compiles with BCB6
- * examples/Null_Component/*:
- New example, a component with just one interface. This can be used
- to analyze the core footprint and see what we can reduce
+ * examples/Null_Component/*:
+ New example, a component with just one interface. This can be used
+ to analyze the core footprint and see what we can reduce
Thanks to Sowayan Abdullah <abdullah dot sowayan at lmco dot com>
for creating this example
@@ -93,42 +103,42 @@ Tue Oct 17 13:40:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
* DAnCE/Plan_Launcher/Plan_Launcher.cpp:
* DAnCE/Plan_Launcher/Plan_Launcher_Impl.cpp:
- Several small layout changes and use ACE_ERROR for
- errors
+ Several small layout changes and use ACE_ERROR for
+ errors
Tue Oct 17 13:30:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
- * DAnCE/NodeApplication/RTNodeApp_Configurator.{h,cpp}:
- Moved destructor implementation to cpp file
+ * DAnCE/NodeApplication/RTNodeApp_Configurator.{h,cpp}:
+ Moved destructor implementation to cpp file
Tue Oct 17 13:10:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
- * DAnCE/NodeManager/CIAO_Monitor.h:
- Doxygen improvements
+ * DAnCE/NodeManager/CIAO_Monitor.h:
+ Doxygen improvements
- * DAnCE/NodeManager/NAM_Map.{h,cpp}:
- Made is_available a const method
+ * DAnCE/NodeManager/NAM_Map.{h,cpp}:
+ Made is_available a const method
- * DAnCE/NodeManager/Node_Manager.cpp:
- Use bool
+ * DAnCE/NodeManager/Node_Manager.cpp:
+ Use bool
- * DAnCE/NodeManager/Node_Manager_Impl.cpp:
+ * DAnCE/NodeManager/Node_Manager_Impl.cpp:
Use ACE_ERROR together with LM_ERROR
Tue Oct 17 12:32:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
- * DAnCE/DomainApplicationManager/Deployment_Configuration.cpp:
- * DAnCE/NodeApplication/NodeApplication_Impl.cpp:
- * DAnCE/NodeApplication/RTConfig_Manager.cpp:
+ * DAnCE/DomainApplicationManager/Deployment_Configuration.cpp:
+ * DAnCE/NodeApplication/NodeApplication_Impl.cpp:
+ * DAnCE/NodeApplication/RTConfig_Manager.cpp:
Use ACE_ERROR together with LM_ERROR
- * DAnCE/NodeApplication/NodeApplication_Impl.inl:
+ * DAnCE/NodeApplication/NodeApplication_Impl.inl:
Initialise pointers with 0
- * DAnCE/NodeApplication/Configurator_Factory.{h,cpp}:
- * DAnCE/NodeApplication/Container_Impl.cpp:
- * DAnCE/NodeApplication/NodeApplication_Core.cpp:
- Use bool and const improvements, doxygen improvements
+ * DAnCE/NodeApplication/Configurator_Factory.{h,cpp}:
+ * DAnCE/NodeApplication/Container_Impl.cpp:
+ * DAnCE/NodeApplication/NodeApplication_Core.cpp:
+ Use bool and const improvements, doxygen improvements
Mon Oct 16 19:52:15 UTC 2006 Shanshan Jiang <shanshan.jiang@vanderbilt.edu>
@@ -250,8 +260,8 @@ Fri Oct 13 16:51:49 UTC 2006 Gan Deng <gan.deng@vanderbilt.edu>
* docs/imgs/dance_arch.jpg:
* docs/imgs/static_dance_arch.jpg:
* docs/imgs/static_dance_impl.jpg:
-
- Fixed corrupted files. Thanks to Sowayan Abudullah
+
+ Fixed corrupted files. Thanks to Sowayan Abudullah
<abdullah dot sowayan at lmco dot com>
for reporting this.