summaryrefslogtreecommitdiff
path: root/quellcode/versuch4/bench_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quellcode/versuch4/bench_i.cpp')
-rwxr-xr-xquellcode/versuch4/bench_i.cpp99
1 files changed, 99 insertions, 0 deletions
diff --git a/quellcode/versuch4/bench_i.cpp b/quellcode/versuch4/bench_i.cpp
new file mode 100755
index 0000000..44f00e0
--- /dev/null
+++ b/quellcode/versuch4/bench_i.cpp
@@ -0,0 +1,99 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1063
+
+#include "bench_i.h"
+
+// Implementation skeleton constructor
+benchmark_Put_i::benchmark_Put_i (void)
+{
+}
+
+// Implementation skeleton destructor
+benchmark_Put_i::~benchmark_Put_i (void)
+{
+}
+
+void benchmark_Put_i::connect (
+
+ )
+ ACE_THROW_SPEC ((
+ ::CORBA::SystemException,
+ ::benchmark::invalidRequest
+ ))
+{
+ // Add your implementation here
+ cpx = new CPX();
+}
+
+void benchmark_Put_i::onePort (
+ ::CORBA::Short portNo,
+ ::CORBA::Short value
+ )
+ ACE_THROW_SPEC ((
+ ::CORBA::SystemException,
+ ::benchmark::invalidRequest
+ ))
+{
+ // Add your implementation here
+ cpx->set(portNo, value);
+}
+
+void benchmark_Put_i::allPorts (
+ ::CORBA::Short valPort1,
+ ::CORBA::Short valPort2,
+ ::CORBA::Short valPort3
+ )
+ ACE_THROW_SPEC ((
+ ::CORBA::SystemException,
+ ::benchmark::invalidRequest
+ ))
+{
+ // Add your implementation here
+ cpx->set(1, valPort1);
+ cpx->set(2, valPort2);
+ cpx->set(3, valPort3);
+}
+
+void benchmark_Put_i::dataAndPorts (
+ const ::benchmark::dataStruct & data
+ )
+ ACE_THROW_SPEC ((
+ ::CORBA::SystemException,
+ ::benchmark::invalidRequest
+ ))
+{
+ // Add your implementation here
+ cpx->set(1, data.valPort1);
+ cpx->set(2, data.valPort2);
+ cpx->set(3, data.valPort3);
+ lastString = data.data;
+}
+
+