summaryrefslogtreecommitdiff
path: root/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/examples/UAV/Satellite/Satellite_exec.h')
-rw-r--r--TAO/CIAO/examples/UAV/Satellite/Satellite_exec.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.h b/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.h
index 8908f4b705b..841441ef665 100644
--- a/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.h
+++ b/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.h
@@ -13,6 +13,7 @@
#include "SatelliteEIC.h"
#include "tao/LocalObject.h"
+#include "ace/High_Res_Timer.h"
// The namespace name for the actual implementation classes doesn't
// really matter. Since there may be several different
@@ -38,6 +39,23 @@ namespace MyImpl
/// Default destructor.
~Satellite_exec_i (void);
+ // Operations from event sink(s)
+
+ virtual void
+ push_uav_ready (BBN_UAV::UAVReady *ev
+ ACE_ENV_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual void
+ push_ucav_ready (BBN_UAV::UCAVReady *ev
+ ACE_ENV_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual void
+ push_battle_ready (BBN_UAV::BattleReady *ev
+ ACE_ENV_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
// Operations from supported interface(s)
virtual void alert (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
@@ -70,6 +88,16 @@ namespace MyImpl
/// Copmponent specific context
BBN_UAV::CCM_Satellite_Context_var context_;
+
+ ACE_hrtime_t start_;
+
+ ACE_hrtime_t UAV_times_[3000];
+
+ ACE_hrtime_t UCAV_times_[3000];
+
+ ACE_hrtime_t Battle_times_[1000];
+
+ int counter_;
};
/**