diff options
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/Activator_Info.h')
-rw-r--r-- | TAO/orbsvcs/ImplRepo_Service/Activator_Info.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/Activator_Info.h b/TAO/orbsvcs/ImplRepo_Service/Activator_Info.h new file mode 100644 index 00000000000..a054fa24cd9 --- /dev/null +++ b/TAO/orbsvcs/ImplRepo_Service/Activator_Info.h @@ -0,0 +1,36 @@ +// $Id$ +#ifndef ACTIVATOR_INFO_H +#define ACTIVATOR_INFO_H + +#include "ace/Bound_Ptr.h" +#include "ace/SString.h" + +#include "ImR_ActivatorC.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +/** +* @brief Information about IMR registered Activators. +*/ +struct Activator_Info +{ + Activator_Info (const ACE_CString& aname, + CORBA::Long atoken, + const ACE_CString& aior, + ImplementationRepository::Activator_ptr act = + ImplementationRepository::Activator::_nil ()); + + /// Reset the connection portion + void reset(); + + ACE_CString name; + CORBA::Long token; + ACE_CString ior; + ImplementationRepository::Activator_var activator; +}; + +typedef ACE_Strong_Bound_Ptr<Activator_Info, ACE_Null_Mutex> Activator_Info_Ptr; + +#endif /* ACTIVATOR_INFO_H */ |