4 * @author Carlos O'Ryan <coryan@uci.edu>
8 #include "Auto_Disconnect.h"
9 #include "Implicit_Deactivator.h"
11 Loopback::Loopback (CORBA::Long experiment_id
,
12 CORBA::Long base_event_type
,
13 PortableServer::POA_ptr supplier_poa
,
14 PortableServer::POA_ptr consumer_poa
,
15 RtecEventChannelAdmin::EventChannel_ptr ec
)
17 this->loopback_pair_
.init (experiment_id
,
22 this->loopback_pair_
.connect (ec
);
26 Loopback::disconnect ()
28 Auto_Disconnect
<Loopback_Pair
> disconnect (&this->loopback_pair_
);
30 Implicit_Deactivator
deactivator (this);