diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup/PG_Factory_Set.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/PortableGroup/PG_Factory_Set.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Factory_Set.h b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Factory_Set.h new file mode 100644 index 00000000000..9b545e49831 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Factory_Set.h @@ -0,0 +1,58 @@ +// -*- C++ -*- + +//======================================================================= +/** + * @file PG_Factory_Set.h + * + * $Id$ + * + * @author Ossama Othman <ossama@uci.edu> + */ +//======================================================================= + + +#ifndef TAO_PG_FACTORY_SET_H +#define TAO_PG_FACTORY_SET_H + +#include /**/ "ace/pre.h" + +#include "ace/config-all.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "orbsvcs/PortableGroupC.h" + +#include "ace/Array_Base.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +/** + * @class TAO_PG_Factory_Node + * + * @brief Structure that contains all factory-specific information. + * + * Each member created by the infrastructure instead of the + * application will have a corresponding TAO_PG_Factory_Node structure + * associated with it. A list of these will be maintained by the + * infrastructure so that it is possible for the instrastructure to + * destroy members it created when destroying the object group. + */ +struct TAO_PG_Factory_Node +{ + /// Member factory information. + PortableGroup::FactoryInfo factory_info; + + /// FactoryCreationId assigned to the member. + PortableGroup::GenericFactory::FactoryCreationId_var factory_creation_id; + +}; + +typedef ACE_Array_Base<TAO_PG_Factory_Node> TAO_PG_Factory_Set; + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_PG_FACTORY_SET_H */ |