OpenDDS  Snapshot(2023/04/28-20:55)
TcpLoader.h
Go to the documentation of this file.
1 /*
2  * Distributed under the OpenDDS License.
3  * See: http://www.opendds.org/license.html
4  */
5 
6 #ifndef OPENDDS_DCPS_TRANSPORT_TCP_TCPLOADER_H
7 #define OPENDDS_DCPS_TRANSPORT_TCP_TCPLOADER_H
8 
9 #include "Tcp_export.h"
10 
12 
13 #include <ace/Service_Object.h>
14 #include <ace/Service_Config.h>
15 
16 #ifndef ACE_LACKS_PRAGMA_ONCE
17 # pragma once
18 #endif
19 
21 
22 namespace OpenDDS {
23 namespace DCPS {
24 
26 public:
27 
28  TcpLoader();
29 
30  virtual ~TcpLoader();
31 
32  /// Initialize the loader hooks.
33  virtual int init(int argc, ACE_TCHAR* argv[]);
34 };
35 
37 ACE_FACTORY_DECLARE(OpenDDS_Tcp, TcpLoader)
38 
39 }
40 }
41 
43 
44 #endif /* TCP_LOADER_H */
ACE_STATIC_SVC_DECLARE_EXPORT(TAO_Transport_Current, TAO_Transport_Current_Loader) ACE_FACTORY_DECLARE(TAO_Transport_Current
#define OpenDDS_Tcp_Export
Definition: Tcp_export.h:25
char ACE_TCHAR
int init(void)
#define ACE_FACTORY_DECLARE(CLS, SERVICE_CLASS)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28