// -*- 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 "benchI.h" // Implementation skeleton constructor benchmark_PutLow_i::benchmark_PutLow_i (void) { } // Implementation skeleton destructor benchmark_PutLow_i::~benchmark_PutLow_i (void) { } void benchmark_PutLow_i::connect ( ) ACE_THROW_SPEC (( ::CORBA::SystemException, ::benchmark::invalidRequest )) { // Add your implementation here cpx = new CPX(); } void benchmark_PutLow_i::onePort ( ::CORBA::Short portNo, ::CORBA::Short value ) ACE_THROW_SPEC (( ::CORBA::SystemException, ::benchmark::invalidRequest )) { // Add your implementation here std::string huhu = ""; for(int i=0; i<65000; i++) for(int i=0; i<5000; i++) if(i%2) huhu += "a"; cpx->set(portNo, value); } void benchmark_PutLow_i::allPorts ( ::CORBA::Short valPort1, ::CORBA::Short valPort2, ::CORBA::Short valPort3 ) ACE_THROW_SPEC (( ::CORBA::SystemException, ::benchmark::invalidRequest )) { // Add your implementation here if(valPort1>=0) cpx->set(1, valPort1); if(valPort2>=0) cpx->set(2, valPort2); if(valPort3>=0) cpx->set(3, valPort3); } // Implementation skeleton constructor benchmark_PutHigh_i::benchmark_PutHigh_i (void) { } // Implementation skeleton destructor benchmark_PutHigh_i::~benchmark_PutHigh_i (void) { } void benchmark_PutHigh_i::connect ( ) ACE_THROW_SPEC (( ::CORBA::SystemException, ::benchmark::invalidRequest )) { // Add your implementation here cpx = new CPX(); } void benchmark_PutHigh_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_PutHigh_i::allPorts ( ::CORBA::Short valPort1, ::CORBA::Short valPort2, ::CORBA::Short valPort3 ) ACE_THROW_SPEC (( ::CORBA::SystemException, ::benchmark::invalidRequest )) { // Add your implementation here if(valPort1>=0) cpx->set(1, valPort1); if(valPort2>=0) cpx->set(2, valPort2); if(valPort3>=0) cpx->set(3, valPort3); }