2 #ifndef TAO_IMR_ACTIVATOR_LOADER_H
3 #define TAO_IMR_ACTIVATOR_LOADER_H
5 #include "ImR_Activator_i.h"
6 #include "Activator_Options.h"
8 #include "tao/Object_Loader.h"
12 #if !defined (ACE_LACKS_PRAGMA_ONCE)
14 #endif /* ACE_LACKS_PRAGMA_ONCE */
16 class ImR_Activator_ORB_Runner
;
18 class Activator_Export ImR_Activator_Loader
: public TAO_Object_Loader
21 ImR_Activator_Loader();
23 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
27 virtual CORBA::Object_ptr
create_object (CORBA::ORB_ptr orb
,
31 // Unlike other service objects, we have our own orb.
35 ImR_Activator_i service_
;
36 Activator_Options opts_
;
37 std::unique_ptr
<ImR_Activator_ORB_Runner
> runner_
;
40 ImR_Activator_Loader (const ImR_Activator_Loader
&) = delete;
41 ImR_Activator_Loader
&operator = (const ImR_Activator_Loader
&) = delete;
42 ImR_Activator_Loader (ImR_Activator_Loader
&&) = delete;
43 ImR_Activator_Loader
&operator = (ImR_Activator_Loader
&&) = delete;
46 ACE_FACTORY_DECLARE (Activator
, ImR_Activator_Loader
)