diff options
Diffstat (limited to 'TAO/tests/Cubit/TAO/IDL_Cubit/cubit_i.h')
-rw-r--r-- | TAO/tests/Cubit/TAO/IDL_Cubit/cubit_i.h | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/TAO/tests/Cubit/TAO/IDL_Cubit/cubit_i.h b/TAO/tests/Cubit/TAO/IDL_Cubit/cubit_i.h deleted file mode 100644 index 46b4b33736a..00000000000 --- a/TAO/tests/Cubit/TAO/IDL_Cubit/cubit_i.h +++ /dev/null @@ -1,106 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/IDL_Cubit -// -// = FILENAME -// cubit_i.h -// -// = AUTHOR -// Andy Gokhale, Sumedh Mungee and Sergio Flores-Gaitan -// -// ============================================================================ - -#if !defined (_CUBIT_I_H) -#define _CUBIT_I_H - -#include "cubitS.h" - -// Forward declarations. -class Cubit_i; - -class Cubit_i : public POA_Cubit -{ - // = TITLE - // Illustrates how to integrate a servant with the generated - // skeleton. - // - // = DESCRIPTION - // Implementation of the cubit example at the servant side. - // Cubes an octet, short, long, struct and union. -public: - Cubit_i (CORBA::ORB_ptr orb); - // Constructor - - ~Cubit_i (void); - // Destructor - - virtual void cube_oneway (CORBA::Environment &env); - // Test a oneway call. - - virtual void cube_void (CORBA::Environment &env); - // Test a twoway call. - - virtual CORBA::Octet cube_octet (CORBA::Octet o, - CORBA::Environment &env); - // Cube an octet - - virtual CORBA::Short cube_short (CORBA::Short s, - CORBA::Environment &env); - // Cube a short - - virtual CORBA::Long cube_long (CORBA::Long l, - CORBA::Environment &env); - // Cube a long - - virtual Cubit::Many cube_struct (const Cubit::Many &values, - CORBA::Environment &env); - // Cube a struct. - - virtual Cubit::oneof cube_union (const Cubit::oneof &values, - CORBA::Environment &env); - // Cube a union. - - virtual void cube_long_sequence (const Cubit::long_seq &input, - Cubit::long_seq_out output, - CORBA::Environment &env); - // Cube a sequence. - - virtual void cube_octet_sequence (const Cubit::octet_seq &input, - Cubit::octet_seq_out output, - CORBA::Environment &_env); - // Cube an octet sequence. - - virtual void shutdown (CORBA::Environment &env); - // Shutdown routine. - -protected: - - CORBA::ORB_var orb_; - // Keep a pointer to the ORB so we can shut it down. -}; - -class Cubit_Factory_i: public POA_Cubit_Factory -{ - // = TITLE - // Cubit_Factory_i - // - // = DESCRIPTION - // Factory object returning the cubit objrefs -public: - Cubit_Factory_i (CORBA::ORB_ptr orb); - // Constructor. - - ~Cubit_Factory_i (void); - // Destructor. - - virtual Cubit_ptr make_cubit (CORBA::Environment &env); - // Make a cubit object. - -private: - Cubit_i my_cubit_; -}; - -#endif /* _CUBIT_I_H */ |