diff options
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp')
-rw-r--r-- | TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp deleted file mode 100644 index a8809b2d044..00000000000 --- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp +++ /dev/null @@ -1,54 +0,0 @@ -// $Id$ - -#include "tao/corba.h" -#include "cubit_i.h" - -Cubit_i::Cubit_i (const char *obj_name) - : POA_Cubit (obj_name) -{ -} - -Cubit_i::~Cubit_i (void) -{ -} - -CORBA::Octet -Cubit_i::cube_octet (CORBA::Octet o, - CORBA::Environment &env) -{ - ACE_UNUSED_ARG (env); - return (CORBA::Octet) (o * o * o); -} - -CORBA::Short -Cubit_i::cube_short (CORBA::Short s, - CORBA::Environment &env) -{ - ACE_UNUSED_ARG (env); - return (CORBA::Short) (s * s * s); -} - -CORBA::Long -Cubit_i::cube_long (CORBA::Long l, - CORBA::Environment &env) -{ - ACE_UNUSED_ARG (env); - return (CORBA::Long) (l * l * l); -} - -Cubit::Many -Cubit_i::cube_struct (const Cubit::Many &values, - CORBA::Environment &env) -{ - ACE_UNUSED_ARG (env); - Cubit::Many out_values; - out_values.o = values.o * values.o * values.o; - out_values.s = values.s * values.s * values.s; - out_values.l = values.l * values.l * values.l; - - return out_values; -} - -void Cubit_i::please_exit (CORBA::Environment &) -{ -} |