diff options
| author | Manuel Traut <manut@mecka.net> | 2014-03-31 16:53:55 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2014-03-31 16:53:55 +0200 |
| commit | 1adba473e6917b227e1b0a1118148101dca202e7 (patch) | |
| tree | 13180ede9564ba50c528b274ee5719b4e030ef06 /quellcode/versuch5/bench_i.h | |
| parent | eacbf5bb4d57af21c731f41251015d3b991ad490 (diff) | |
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'quellcode/versuch5/bench_i.h')
| -rwxr-xr-x | quellcode/versuch5/bench_i.h | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/quellcode/versuch5/bench_i.h b/quellcode/versuch5/bench_i.h new file mode 100755 index 0000000..d7943c0 --- /dev/null +++ b/quellcode/versuch5/bench_i.h @@ -0,0 +1,193 @@ +// -*- 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:1001 + +#ifndef BENCHI_H_ +#define BENCHI_H_ + +#include "benchS.h" + +#include "cpx.h" +#include <string.h> +#include <tao/RTCORBA/RTCORBA.h> + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +#pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +class benchmark_msgAndPort1_i + : public virtual POA_benchmark::msgAndPort1 +{ + +private: + CPX* cpx; + std::string lastString; + RTCORBA::Current_var rt_current_; + +public: + // Constructor + benchmark_msgAndPort1_i (CORBA::ORB_ptr orb); + + // Destructor + virtual ~benchmark_msgAndPort1_i (void); + + virtual + void connect ( + + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::benchmark::invalidRequest + )); + + virtual + void setPorts ( + ::CORBA::Short valPort1, + ::CORBA::Short valPort2, + ::CORBA::Short valPort3 + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::benchmark::invalidRequest + )); + + virtual + ::CORBA::Boolean sendMsg ( + const ::benchmark::msg & message + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::benchmark::invalidRequest + )); +}; + +class benchmark_msgAndPort2_i + : public virtual POA_benchmark::msgAndPort2 +{ + +private: + CPX* cpx; + std::string lastString; + RTCORBA::Current_var rt_current_; + +public: + // Constructor + benchmark_msgAndPort2_i (CORBA::ORB_ptr orb); + + // Destructor + virtual ~benchmark_msgAndPort2_i (void); + + virtual + void connect ( + + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::benchmark::invalidRequest + )); + + virtual + void setPortsSendMsg ( + ::CORBA::Short valPort1, + ::CORBA::Short valPort2, + ::CORBA::Short valPort3, + const ::benchmark::msg & message + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::benchmark::invalidRequest + )); +}; + +class benchmark_msgOnly_i + : public virtual POA_benchmark::msgOnly +{ + +private: + CPX* cpx; + std::string lastString; + RTCORBA::Current_var rt_current_; + +public: + // Constructor + benchmark_msgOnly_i (CORBA::ORB_ptr orb); + + // Destructor + virtual ~benchmark_msgOnly_i (void); + + virtual + ::CORBA::Boolean sendMsg ( + const ::benchmark::msg & message + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::benchmark::invalidRequest + )); +}; + +class benchmark_setPortsOnly_i + : public virtual POA_benchmark::setPortsOnly +{ + +private: + CPX* cpx; + std::string lastString; + RTCORBA::Current_var rt_current_; + +public: + // Constructor + benchmark_setPortsOnly_i (CORBA::ORB_ptr orb); + + // Destructor + virtual ~benchmark_setPortsOnly_i (void); + + virtual + void connect ( + + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::benchmark::invalidRequest + )); + + virtual + void setPorts ( + ::CORBA::Short valPort1, + ::CORBA::Short valPort2, + ::CORBA::Short valPort3 + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::benchmark::invalidRequest + )); +}; + + +#endif /* BENCHI_H_ */ + |
