00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #ifndef TCP_LOADER_H 00009 #define TCP_LOADER_H 00010 #include /**/ "ace/pre.h" 00011 00012 #include "Tcp_export.h" 00013 00014 #include "ace/Service_Object.h" 00015 #include "ace/Service_Config.h" 00016 00017 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00018 # pragma once 00019 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00020 00021 #include "dds/Versioned_Namespace.h" 00022 00023 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00024 00025 namespace OpenDDS { 00026 namespace DCPS { 00027 00028 class OpenDDS_Tcp_Export TcpLoader : public ACE_Service_Object { 00029 public: 00030 00031 TcpLoader(); 00032 00033 virtual ~TcpLoader(); 00034 00035 /// Initialize the loader hooks. 00036 virtual int init(int argc, ACE_TCHAR* argv[]); 00037 }; 00038 00039 ACE_STATIC_SVC_DECLARE_EXPORT(OpenDDS_Tcp, TcpLoader) 00040 ACE_FACTORY_DECLARE(OpenDDS_Tcp, TcpLoader) 00041 00042 } 00043 } 00044 00045 OPENDDS_END_VERSIONED_NAMESPACE_DECL 00046 00047 #include /**/ "ace/post.h" 00048 #endif /* TCP_LOADER_H */