summaryrefslogtreecommitdiff
path: root/TAO/tests/Smart_Proxies/On_Demand/Smart_Test_Factory.h
blob: 4ce95df91b1bbec136da60766e1e1288a8e40b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// $Id$

#include "Smart_Proxy_Impl.h"
#include "ace/Service_Object.h"

class ACE_Svc_Export Smart_Test_Factory
  : public virtual TAO_Test_Default_Proxy_Factory,
    public ACE_Service_Object

{
public:

  Smart_Test_Factory (void);

  virtual Test_ptr create_proxy (Test_ptr proxy
                                 TAO_ENV_ARG_DECL_WITH_DEFAULTS);
  // This method will create the smart_proxy.
};

// The following Factory is used by the <ACE_Service_Config> to
// dynamically initialize the state of the Smart_Proxy_Factory
ACE_SVC_FACTORY_DECLARE (Smart_Test_Factory)