OpenDDS
Snapshot(2023/04/28-20:55)
dds
DCPS
transport
framework
TransportReceiveStrategy_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_TRANSPORTRECEIVESTRATEGY_RCH_H
9
#define OPENDDS_DCPS_TRANSPORT_FRAMEWORK_TRANSPORTRECEIVESTRATEGY_RCH_H
10
11
#include "
dds/DCPS/RcHandle_T.h
"
12
13
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
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.
34
class
TransportReceiveStrategy
;
35
36
/// The type definition for the smart-pointer to the underlying type.
37
typedef
RcHandle<TransportReceiveStrategy>
TransportReceiveStrategy_rch
;
38
39
}
// namespace DCPS
40
}
// namespace OpenDDS
41
42
OPENDDS_END_VERSIONED_NAMESPACE_DECL
43
44
#endif
/* OPENDDS_DCPS_TRANSPORTRECEIVESTRATEGY_RCH_H */
OpenDDS::DCPS::TransportReceiveStrategy_rch
RcHandle< TransportReceiveStrategy > TransportReceiveStrategy_rch
The type definition for the smart-pointer to the underlying type.
Definition:
TransportReceiveStrategy_rch.h:34
RcHandle_T.h
OpenDDS::DCPS::TransportReceiveStrategy
Definition:
TransportReceiveStrategy_T.h:50
OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
Definition:
Versioned_Namespace.h:48
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
Definition:
Hash.cpp:17
OpenDDS
The Internal API and Implementation of OpenDDS.
Definition:
AddressCache.h:28
OpenDDS::DCPS::RcHandle
Definition:
RcHandle_T.h:24
Generated by
1.8.13