00001 // Activator_Info.h,v 1.4 2005/04/12 22:18:48 michel_j Exp 00002 #ifndef ACTIVATOR_INFO_H 00003 #define ACTIVATOR_INFO_H 00004 00005 #include "ace/Bound_Ptr.h" 00006 #include "ace/SString.h" 00007 00008 #include "ImR_ActivatorC.h" 00009 00010 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00011 # pragma once 00012 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00013 00014 /** 00015 * @brief Information about IMR registered Activators. 00016 */ 00017 struct Activator_Info 00018 { 00019 Activator_Info (const ACE_CString& aname, 00020 CORBA::Long atoken, 00021 const ACE_CString& aior, 00022 ImplementationRepository::Activator_ptr act = 00023 ImplementationRepository::Activator::_nil ()); 00024 00025 /// Reset the connection portion 00026 void reset(); 00027 00028 ACE_CString name; 00029 CORBA::Long token; 00030 ACE_CString ior; 00031 ImplementationRepository::Activator_var activator; 00032 }; 00033 00034 typedef ACE_Strong_Bound_Ptr<Activator_Info, ACE_Null_Mutex> Activator_Info_Ptr; 00035 00036 #endif /* ACTIVATOR_INFO_H */