summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Factory_Set.h
blob: 3bca619031f9b41dba5b86c2ba888f336003ecc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// -*- 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"


/**
 * @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;


#include /**/ "ace/post.h"

#endif  /* TAO_PG_FACTORY_SET_H */