diff options
Diffstat (limited to 'TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp')
-rw-r--r-- | TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp b/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp index ca0453af87f..4fe47fdcb58 100644 --- a/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp +++ b/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp @@ -17,6 +17,21 @@ MyImpl::Satellite_exec_i::~Satellite_exec_i () { } +// Operations from supported interface(s) + +void +MyImpl::Satellite_exec_i::alert (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + ACE_DEBUG ((LM_DEBUG, + ACE_TEXT ("Satellite, pushing TargetLocated!\n"))); + + BBN_UAV::TargetLocated_var ev = new OBV_BBN_UAV::TargetLocated (); + + this->context_->push_target_located (ev.in () + ACE_ENV_ARG_PARAMETER); +} + // Operations from Components::SessionComponent void MyImpl::Satellite_exec_i::set_session_context (Components::SessionContext_ptr ctx |