summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/tests/CIAO/FTComponents/FTTask_exec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/DAnCE/tests/CIAO/FTComponents/FTTask_exec.cpp')
-rw-r--r--CIAO/DAnCE/tests/CIAO/FTComponents/FTTask_exec.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/CIAO/DAnCE/tests/CIAO/FTComponents/FTTask_exec.cpp b/CIAO/DAnCE/tests/CIAO/FTComponents/FTTask_exec.cpp
index 04b52beb247..ebbf947a663 100644
--- a/CIAO/DAnCE/tests/CIAO/FTComponents/FTTask_exec.cpp
+++ b/CIAO/DAnCE/tests/CIAO/FTComponents/FTTask_exec.cpp
@@ -68,8 +68,12 @@ namespace CIDL_FTTask_Impl
end = ACE_OS::gethrtime ();
+ ++state_;
+
+ agent_->state_changed (object_id_.c_str ());
+
CIAO_DEBUG ((LM_INFO,
- ACE_TEXT ("Task %s #%d: start=%Tu end=%T time=%d ms"),
+ ACE_TEXT ("Task %s #%d: start=%Tu end=%T time=%d ms\n"),
object_id_.c_str (),
state_,
start,
@@ -104,7 +108,7 @@ namespace CIDL_FTTask_Impl
// create intermediate object with the value
CORBA::Long value = state_;
- ACE_DEBUG ((LM_DEBUG, "FTTask_exec_i::get_state returns %d.\n", value));
+ ACE_DEBUG ((LM_TRACE, "FTTask_exec_i::get_state returns %d.\n", value));
// insert value into the any object
*state <<= value;