summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/IFR_Service/TCF_Loader.h
blob: 72ddd6d0bdd83f06abf15f3e149a0534a4a0c06b (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
// -*- C++ -*-
// $Id$

// ============================================================================
//
// = LIBRARY
//     TAO/orbsvcs/IFR_Service
//
// = FILENAME
//     TCF_Loader.h
//
// = AUTHOR
//     Jeff Parsons
//
// ============================================================================

#ifndef TAO_OBJECT_LOADER_TCF_LOADER_H
#define TAO_OBJECT_LOADER_TCF_LOADER_H

#include "tao/Object_Loader.h"
#include "TCF_Export.h"

class TCF_Export TCF_Loader : public TAO_Object_Loader
{
  // = TITLE
  //     TCF_Loader
  //
  // = DESCRIPTION
  //     Create an instance of TypeCodeFactory and return
  //     it to the caller.
  //
public:
  TCF_Loader (void);
  // ctor

  virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb,
                                           int argc,
                                           char *argv [],
                                           CORBA::Environment &)
    ACE_THROW_SPEC (());
  // Overload the base class method to create a new instance
  // of a TypeCodeFactory object.
};

// ACE_STATIC_SVC_DECLARE (TCF_Loader)
ACE_FACTORY_DECLARE (TCF, TCF_Loader)

#endif /* TAO_OBJECT_LOADER_TCF_LOADER_H */