summaryrefslogtreecommitdiff
path: root/modules/CIAO/examples/Null_Component/plan.h
blob: b6c5ada9ff277de739ef61f135d9ad47391e8966 (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
// $Id$

#include "Session_Container.h"

extern "C"
::Components::HomeExecutorBase_ptr create_Null_ComponentHome_Impl (void);

extern "C"
::PortableServer::Servant create_Null_ComponentHome_Servant (
  ::Components::HomeExecutorBase_ptr p,
  ::CIAO::Session_Container *c,
  const char*);

struct HomeAttributes
{
  char const * component_instance_name_;
  /// Specify the entrypoint to component executor DLL.
  char const * executor_entrypt_;
  ::CIAO::HomeFactory executor_fptr_;
  /// Specify the entrypoint to component servant DLL.
  char const * servant_entrypt_;
  ::CIAO::ServantFactory servant_fptr_;
};

/// Homes
HomeAttributes homes_table[] = 
{
  {
    "Null_Component.ComponentImplementations.Null_Assembly_Container."
    "Null_Assembly.Null_Component",
    "create_Null_ComponentHome_Impl",
    create_Null_ComponentHome_Impl,
    "create_Null_ComponentHome_Servant",
    create_Null_ComponentHome_Servant
  }
};