summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/AVStreams/Latency/ping.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams/Latency/ping.cpp')
-rw-r--r--TAO/orbsvcs/tests/AVStreams/Latency/ping.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/Latency/ping.cpp b/TAO/orbsvcs/tests/AVStreams/Latency/ping.cpp
index 886394ae9f9..d8473f3d267 100644
--- a/TAO/orbsvcs/tests/AVStreams/Latency/ping.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/Latency/ping.cpp
@@ -105,7 +105,6 @@ int main (int argc, char *argv[])
CORBA::Object_var obj
= orb->resolve_initial_references ("RootPOA" ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
PortableServer::POA_var poa
= PortableServer::POA::_narrow (obj.in ());
@@ -118,7 +117,6 @@ int main (int argc, char *argv[])
TAO_AV_CORE::instance ()->init (orb.in (),
poa.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
// Register the video mmdevice object with the ORB
Reactive_Strategy *reactive_strategy;
@@ -132,12 +130,10 @@ int main (int argc, char *argv[])
1);
AVStreams::MMDevice_var mmdevice =
- mmdevice_impl->_this (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ mmdevice_impl->_this ();
CORBA::String_var ior =
orb->object_to_string (mmdevice.in () ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
ACE_DEBUG ((LM_DEBUG, "Activated as <%s>\n", ior.in ()));
@@ -164,23 +160,18 @@ int main (int argc, char *argv[])
1);
AVStreams::FDev_var ping_fdev =
- ping_fdev_impl->_this (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ ping_fdev_impl->_this ();
AVStreams::FDev_var pong_fdev =
- pong_fdev_impl->_this (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ pong_fdev_impl->_this ();
mmdevice->add_fdev (ping_fdev.in () ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
if (respond == 1)
{
mmdevice->add_fdev (pong_fdev.in () ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
}
orb->run ();
- ACE_TRY_CHECK;
ACE_DEBUG ((LM_DEBUG, "Calibrating scale factory . . . "));