DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TInstanceHandle.hpp
Go to the documentation of this file.
1 #ifndef OMG_TDDS_CORE_INSTANCE_HANDLE_HPP_
2 #define OMG_TDDS_CORE_INSTANCE_HANDLE_HPP_
3 
4 /* Copyright 2010, Object Management Group, Inc.
5  * Copyright 2010, PrismTech, Corp.
6  * Copyright 2010, Real-Time Innovations, Inc.
7  * All rights reserved.
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21 
22 #include <dds/core/types.hpp>
23 #include <dds/core/Value.hpp>
24 
25 
26 namespace dds {
27  namespace core {
28  template <typename DELEGATE>
30  }
31 }
32 
33 template <typename DELEGATE>
34 class dds::core::TInstanceHandle : public dds::core::Value<DELEGATE> {
35 public:
39  TInstanceHandle(const dds::core::null_type& nullHandle);
40 
44  TInstanceHandle(const TInstanceHandle& other);
45 
50 
56  template <typename ARG0>
57  TInstanceHandle(const ARG0& arg0);
58 
59 public:
61 
62  bool operator==(const TInstanceHandle& that) const;
63 
64 
65 public:
66  static const TInstanceHandle nil();
67 
68  bool is_nil() const;
69 };
70 
71 
72 #endif // !defined(OMG_TDDS_CORE_INSTANCE_HANDLE_HPP_)