00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file NVList_Adapter.h 00006 * 00007 * $Id: NVList_Adapter.h 76995 2007-02-11 12:51:42Z johnnyw $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_NVLIST_ADAPTER_H 00014 #define TAO_NVLIST_ADAPTER_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include /**/ "tao/TAO_Export.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "tao/Basic_Types.h" 00025 00026 #include "ace/Service_Object.h" 00027 00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00029 00030 namespace CORBA 00031 { 00032 class NVList; 00033 typedef NVList *NVList_ptr; 00034 00035 class NamedValue; 00036 typedef NamedValue *NamedValue_ptr; 00037 } 00038 00039 /** 00040 * @class TAO_NVList_Adapter 00041 */ 00042 class TAO_Export TAO_NVList_Adapter : public ACE_Service_Object 00043 { 00044 public: 00045 virtual ~TAO_NVList_Adapter (void); 00046 00047 virtual void create_list (CORBA::Long count, CORBA::NVList_ptr &new_list) = 0; 00048 00049 virtual void create_named_value (CORBA::NamedValue_ptr &nv) = 0; 00050 }; 00051 00052 TAO_END_VERSIONED_NAMESPACE_DECL 00053 00054 #include /**/ "ace/post.h" 00055 #endif /* TAO_NVLIST_ADAPTER_H */