/** * @file EC_Destroyer.cpp * * @author Carlos O'Ryan */ #include "EC_Destroyer.h" EC_Destroyer::EC_Destroyer (RtecEventChannelAdmin::EventChannel_ptr ec) : ec_ (RtecEventChannelAdmin::EventChannel::_duplicate (ec)) { } EC_Destroyer::~EC_Destroyer () { try{ this->ec_->destroy (); } catch (const CORBA::Exception&) { // @@ TODO Log this event, check the Servant_var.cpp comments for // details. } }