IORManipulation.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    IORManipulation.h
00006  *
00007  *  $Id: IORManipulation.h 81429 2008-04-24 18:49:54Z johnnyw $
00008  *
00009  *  This class implements IOR interface to the ORB
00010  *
00011  *
00012  *  @author  Fred Kuhns <fredk@cs.wustl.edu>
00013  */
00014 //=============================================================================
00015 
00016 
00017 #ifndef TAO_IOR_MANIPULATION_H
00018 #define TAO_IOR_MANIPULATION_H
00019 
00020 #include /**/ "ace/pre.h"
00021 
00022 #include "tao/LocalObject.h"
00023 #include "tao/IORManipulation/IORManip_Loader.h"
00024 
00025 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00026 # pragma once
00027 #endif /* ACE_LACKS_PRAGMA_ONCE */
00028 
00029 #include "tao/IORManipulation/IORC.h"
00030 
00031 #if defined(_MSC_VER)
00032 #pragma warning(push)
00033 #pragma warning(disable:4250)
00034 #endif /* _MSC_VER */
00035 
00036 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00037 
00038 class TAO_IOR_Manipulation_impl
00039   : public TAO_IOP::TAO_IOR_Manipulation,
00040     public ::CORBA::LocalObject
00041 {
00042 public:
00043 
00044   /// Constructor
00045   TAO_IOR_Manipulation_impl (void);
00046 
00047   virtual CORBA::Object_ptr merge_iors (
00048     const TAO_IOP::TAO_IOR_Manipulation::IORList & iors);
00049 
00050   virtual CORBA::Object_ptr add_profiles (
00051       CORBA::Object_ptr ior1, CORBA::Object_ptr ior2);
00052 
00053   virtual CORBA::Object_ptr remove_profiles (
00054     CORBA::Object_ptr group, CORBA::Object_ptr ior2);
00055 
00056   virtual CORBA::Boolean set_property (
00057       TAO_IOP::TAO_IOR_Property_ptr prop, CORBA::Object_ptr group);
00058 
00059   // @@ note awkward argument order
00060   virtual CORBA::Boolean set_primary (
00061       TAO_IOP::TAO_IOR_Property_ptr prop,
00062       CORBA::Object_ptr new_primary,
00063       CORBA::Object_ptr group);
00064 
00065   virtual CORBA::Object_ptr get_primary (
00066       TAO_IOP::TAO_IOR_Property_ptr prop, CORBA::Object_ptr group);
00067 
00068   virtual CORBA::Boolean is_primary_set (
00069       TAO_IOP::TAO_IOR_Property_ptr prop,
00070       CORBA::Object_ptr group);
00071 
00072    virtual CORBA::Boolean remove_primary_tag (
00073        TAO_IOP::TAO_IOR_Property_ptr prop,
00074        CORBA::Object_ptr iogr);
00075 
00076   virtual CORBA::ULong is_in_ior (
00077     CORBA::Object_ptr ior1,
00078     CORBA::Object_ptr ior2);
00079 
00080   virtual CORBA::ULong get_profile_count (CORBA::Object_ptr group);
00081 
00082 protected:
00083 
00084   /// Destructor
00085   ~TAO_IOR_Manipulation_impl (void);
00086 
00087 };
00088 
00089 TAO_END_VERSIONED_NAMESPACE_DECL
00090 
00091 #if defined(_MSC_VER)
00092 #pragma warning(pop)
00093 #endif /* _MSC_VER */
00094 
00095 #include /**/ "ace/post.h"
00096 
00097 #endif /* TAO_IOR_MANIPULATION_H */

Generated on Tue Feb 2 17:43:36 2010 for TAO_IORManipulation by  doxygen 1.4.7