OpenDDS  Snapshot(2023/04/28-20:55)
TransportInst_rch.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #ifndef OPENDDS_DCPS_TRANSPORT_FRAMEWORK_TRANSPORTINST_RCH_H
9 #define OPENDDS_DCPS_TRANSPORT_FRAMEWORK_TRANSPORTINST_RCH_H
10 
11 #include "dds/DCPS/RcHandle_T.h"
12 
14 
15 namespace OpenDDS {
16 namespace DCPS {
17 
18 /**
19  * This file instantiates a smart-pointer type (rch) to a specific
20  * underlying "pointed-to" type.
21  *
22  * This type definition is in its own header file so that the
23  * smart-pointer type can be defined without causing the inclusion
24  * of the underlying "pointed-to" type header file. Instead, the
25  * underlying "pointed-to" type is forward-declared. This is analogous
26  * to the inclusion requirements that would be imposed if the
27  * "pointed-to" type was being referenced via a raw pointer type.
28  * Holding the raw pointer indirectly via a smart pointer doesn't
29  * change the inclusion requirements (ie, the underlying type doesn't
30  * need to be included in either case).
31  */
32 
33 // Forward declaration of the underlying type.
35 
36 /// The type definition for the smart-pointer to the underlying type.
38 
39 } // namespace DCPS
40 } // namespace OpenDDS
41 
43 
44 #endif /* OPENDDS_DCPS_TRANSPORTINST_RCH_H */
Base class to hold configuration settings for TransportImpls.
Definition: TransportInst.h:64
RcHandle< TransportInst > TransportInst_rch
The type definition for the smart-pointer to the underlying type.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28