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

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

class ACE_Svc_Export Smart_Test_Factory
  : public virtual TAO_Test_Default_Proxy_Factory,
    public virtual ACE_Service_Object

{
public:

  Smart_Test_Factory (void);

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

// 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)