OpenDDS  Snapshot(2023/04/28-20:55)
InstanceHandle.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_INSTANCEHANDLE_H
9 #define OPENDDS_DCPS_INSTANCEHANDLE_H
10 
11 #include "dcps_export.h"
12 #include "Atomic.h"
13 
14 #include <dds/DdsDcpsInfrastructureC.h>
15 
17 
18 namespace OpenDDS {
19 namespace DCPS {
20 
22 
24 public:
25  explicit InstanceHandleGenerator(long begin = HANDLE_UNKNOWN);
26 
28 
29  DDS::InstanceHandle_t next();
30 
31 private:
33 };
34 
35 } // namespace DCPS
36 } // namespace OpenDDS
37 
39 
40 #endif /* DCPS_INSTANCEHANDLE_H */
#define OpenDDS_Dcps_Export
Definition: dcps_export.h:24
const DDS::InstanceHandle_t HANDLE_UNKNOWN(0)
HANDLE_TYPE_NATIVE InstanceHandle_t
Definition: DdsDcpsCore.idl:51
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28