3 //=============================================================================
5 * @file Current_Loader.h
7 * @author Iliyan Jeliazkov <iliyan@ociweb.com>
9 //=============================================================================
12 #ifndef TAO_TRANSPORT_CURRENT_LOADER_H
13 #define TAO_TRANSPORT_CURRENT_LOADER_H
15 #include /**/ "ace/pre.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "ace/Service_Object.h"
22 #include "ace/Service_Config.h"
23 #include "tao/Versioned_Namespace.h"
25 #if TAO_HAS_TRANSPORT_CURRENT == 1
27 #include "tao/TransportCurrent/Transport_Current_Export.h"
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
35 class TAO_Transport_Current_Export Current_Loader
36 : public ACE_Service_Object
39 /// Initializes object when dynamic linking occurs.
40 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
43 /// Protected destructor to enforce reference counting discipline
44 virtual ~Current_Loader ();
50 #if defined (TAO_AS_STATIC_LIBS)
55 int current_static_initializer ();
59 #endif /* defined (TAO_AS_STATIC_LIBS) */
61 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_Transport_Current
,
62 TAO_Transport_Current_Loader
)
64 ACE_FACTORY_DECLARE (TAO_Transport_Current
,
65 TAO_Transport_Current_Loader
)
67 TAO_END_VERSIONED_NAMESPACE_DECL
70 #endif /* TAO_HAS_TRANSPORT_CURRENT == 1 */
72 #include /**/ "ace/post.h"
74 #endif /* TAO_TRANSPORT_CURRENT_LOADER_H */