diff options
Diffstat (limited to 'ACE/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h')
-rw-r--r-- | ACE/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ACE/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h b/ACE/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h new file mode 100644 index 00000000000..2eb4f2fb17c --- /dev/null +++ b/ACE/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.h @@ -0,0 +1,56 @@ +/* -*- C++ -*- */ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/tests +// +// = FILENAME +// cubit_i.h +// +// = AUTHOR +// Andy Gokhale, Sumedh Mungee, Sergio Flores-Gaitan and Nagarajan Surendran. +// +// ============================================================================ + +#ifndef _CUBIT_I_H +#define _CUBIT_I_H + +#include "cubitS.h" + +class Cubit_i : public POA_Cubit +{ + // = TITLE + // Cubit implementation class. +public: + // = Initialization and termination methods. + Cubit_i (CORBA::ORB_ptr orb, + PortableServer::POA_ptr poa); + ~Cubit_i (void); + + virtual CORBA::Octet cube_octet (CORBA::Octet o); + + virtual CORBA::Short cube_short (CORBA::Short s); + + virtual CORBA::Long cube_long (CORBA::Long l); + + virtual Cubit::Many cube_struct (const Cubit::Many &values); + + virtual void noop (void); + + virtual void shutdown (void); + + virtual PortableServer::POA_ptr + _default_POA (void); + // The default POA + +protected: + CORBA::ORB_var orb_; + // Keep a pointer to the ORB so we can shut it down. + + PortableServer::POA_var poa_; + // The default POA.. +}; + +#endif /* _CUBIT_I_H */ |