Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef TAO_TRANSPORT_CURRENT_LOADER_H
00015 #define TAO_TRANSPORT_CURRENT_LOADER_H
00016
00017 #include "ace/pre.h"
00018
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif
00022
00023 #include "ace/Service_Object.h"
00024 #include "ace/Service_Config.h"
00025 #include "tao/Versioned_Namespace.h"
00026
00027 #if TAO_HAS_TRANSPORT_CURRENT == 1
00028
00029 #include "tao/TransportCurrent/Transport_Current_Export.h"
00030
00031 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00032
00033 namespace TAO
00034 {
00035
00036
00037 namespace Transport
00038 {
00039
00040 class TAO_Transport_Current_Export Current_Loader
00041 : public ACE_Service_Object
00042 {
00043 public:
00044
00045
00046 virtual int init (int argc, ACE_TCHAR *argv[]);
00047
00048 protected:
00049
00050
00051 virtual ~Current_Loader (void);
00052 };
00053
00054 }
00055 }
00056
00057
00058 #if defined (TAO_AS_STATIC_LIBS)
00059 namespace TAO
00060 {
00061 namespace Transport
00062 {
00063 int current_static_initializer (void);
00064 }
00065 }
00066
00067 #endif
00068
00069 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_Transport_Current,
00070 TAO_Transport_Current_Loader)
00071
00072 ACE_FACTORY_DECLARE (TAO_Transport_Current,
00073 TAO_Transport_Current_Loader)
00074
00075 TAO_END_VERSIONED_NAMESPACE_DECL
00076
00077
00078 #endif
00079
00080 #include "ace/post.h"
00081
00082 #endif